mirror of https://github.com/ArduPilot/ardupilot
AP_Terrain: create and use AP_Terrain_config.h
This commit is contained in:
parent
4b1e1871c9
commit
82ac0ead72
|
@ -14,12 +14,7 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
#include <AP_Filesystem/AP_Filesystem_config.h>
|
||||
|
||||
#ifndef AP_TERRAIN_AVAILABLE
|
||||
#define AP_TERRAIN_AVAILABLE AP_FILESYSTEM_FILE_READING_ENABLED
|
||||
#endif
|
||||
#include "AP_Terrain_config.h"
|
||||
|
||||
#if AP_TERRAIN_AVAILABLE
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
#include <AP_Filesystem/AP_Filesystem_config.h>
|
||||
|
||||
#ifndef AP_TERRAIN_AVAILABLE
|
||||
#define AP_TERRAIN_AVAILABLE AP_FILESYSTEM_FILE_READING_ENABLED
|
||||
#endif
|
Loading…
Reference in New Issue