mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Terrain: replace HAVE_FILESYSTEM_SUPPORT with backend defines
This commit is contained in:
parent
fd10c5e9e1
commit
e8ed94344b
@ -18,7 +18,7 @@
|
||||
#include <AP_Filesystem/AP_Filesystem_config.h>
|
||||
|
||||
#ifndef AP_TERRAIN_AVAILABLE
|
||||
#if HAVE_FILESYSTEM_SUPPORT && defined(HAL_BOARD_TERRAIN_DIRECTORY)
|
||||
#if AP_FILESYSTEM_FILE_READING_ENABLED && defined(HAL_BOARD_TERRAIN_DIRECTORY)
|
||||
#define AP_TERRAIN_AVAILABLE 1
|
||||
#else
|
||||
#define AP_TERRAIN_AVAILABLE 0
|
||||
|
Loading…
Reference in New Issue
Block a user