mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
AP_HAL_ChibiOS: replace HAVE_FILESYSTEM_SUPPORT with backend defines
This commit is contained in:
parent
1c54d18672
commit
30131a2f36
@ -3251,6 +3251,10 @@ INCLUDE common.ld
|
||||
#define HAL_SPEKTRUM_TELEM_ENABLED 0
|
||||
#endif
|
||||
|
||||
#ifndef AP_FILESYSTEM_ROMFS_ENABLED
|
||||
#define AP_FILESYSTEM_ROMFS_ENABLED 0
|
||||
#endif
|
||||
|
||||
// end AP_Periph defaults
|
||||
''')
|
||||
|
||||
|
@ -184,7 +184,7 @@ bool sdcard_retry(void)
|
||||
#ifdef USE_POSIX
|
||||
if (!sdcard_running) {
|
||||
if (sdcard_init()) {
|
||||
#if HAVE_FILESYSTEM_SUPPORT
|
||||
#if AP_FILESYSTEM_FILE_WRITING_ENABLED
|
||||
// create APM directory
|
||||
AP::FS().mkdir("/APM");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user