AP_Terrain: assume HAL_BOARD_TERRAIN_DIRECTORY is defined

This commit is contained in:
Peter Barker 2023-07-14 12:57:29 +10:00 committed by Randy Mackay
parent 338a4d6b38
commit 5ee85b82f9
1 changed files with 1 additions and 5 deletions

View File

@ -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