mirror of https://github.com/ArduPilot/ardupilot
AP_Terrain: assume HAL_BOARD_TERRAIN_DIRECTORY is defined
This commit is contained in:
parent
338a4d6b38
commit
5ee85b82f9
|
@ -18,11 +18,7 @@
|
|||
#include <AP_Filesystem/AP_Filesystem_config.h>
|
||||
|
||||
#ifndef AP_TERRAIN_AVAILABLE
|
||||
#if AP_FILESYSTEM_FILE_READING_ENABLED && defined(HAL_BOARD_TERRAIN_DIRECTORY)
|
||||
#define AP_TERRAIN_AVAILABLE 1
|
||||
#else
|
||||
#define AP_TERRAIN_AVAILABLE 0
|
||||
#endif
|
||||
#define AP_TERRAIN_AVAILABLE AP_FILESYSTEM_FILE_READING_ENABLED
|
||||
#endif
|
||||
|
||||
#if AP_TERRAIN_AVAILABLE
|
||||
|
|
Loading…
Reference in New Issue