AP_HAL_ChibiOS: disable terrain unless SD card available
This commit is contained in:
parent
5ee85b82f9
commit
dd325a7aaf
@ -3473,6 +3473,9 @@ INCLUDE common.ld
|
||||
#define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
||||
#endif
|
||||
|
||||
// enable terrain only if there's an SD card available:
|
||||
#define AP_TERRAIN_AVAILABLE HAL_OS_FATFS_IO
|
||||
|
||||
// end firmware defaults
|
||||
''')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user