mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 22:18:28 -04:00
AP_Logger: replace HAVE_FILESYSTEM_SUPPORT with backend defines
This commit is contained in:
parent
ee8a762e1d
commit
6dbf1f2d66
@ -17,11 +17,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef HAL_LOGGING_FILESYSTEM_ENABLED
|
||||
#if HAVE_FILESYSTEM_SUPPORT
|
||||
#define HAL_LOGGING_FILESYSTEM_ENABLED HAL_LOGGING_ENABLED
|
||||
#else
|
||||
#define HAL_LOGGING_FILESYSTEM_ENABLED 0
|
||||
#endif
|
||||
#define HAL_LOGGING_FILESYSTEM_ENABLED HAL_LOGGING_ENABLED && AP_FILESYSTEM_FILE_WRITING_ENABLED
|
||||
#endif
|
||||
|
||||
#if HAL_LOGGING_DATAFLASH_ENABLED
|
||||
@ -36,10 +32,6 @@
|
||||
#error Need HAL_BOARD_LOG_DIRECTORY for filesystem backend support
|
||||
#endif
|
||||
|
||||
#if !defined (HAVE_FILESYSTEM_SUPPORT)
|
||||
#error Need HAVE_FILESYSTEM_SUPPORT for filesystem backend support
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef HAL_LOGGER_FILE_CONTENTS_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user