mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 23: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
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_LOGGING_FILESYSTEM_ENABLED
|
#ifndef HAL_LOGGING_FILESYSTEM_ENABLED
|
||||||
#if HAVE_FILESYSTEM_SUPPORT
|
#define HAL_LOGGING_FILESYSTEM_ENABLED HAL_LOGGING_ENABLED && AP_FILESYSTEM_FILE_WRITING_ENABLED
|
||||||
#define HAL_LOGGING_FILESYSTEM_ENABLED HAL_LOGGING_ENABLED
|
|
||||||
#else
|
|
||||||
#define HAL_LOGGING_FILESYSTEM_ENABLED 0
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAL_LOGGING_DATAFLASH_ENABLED
|
#if HAL_LOGGING_DATAFLASH_ENABLED
|
||||||
@ -36,10 +32,6 @@
|
|||||||
#error Need HAL_BOARD_LOG_DIRECTORY for filesystem backend support
|
#error Need HAL_BOARD_LOG_DIRECTORY for filesystem backend support
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined (HAVE_FILESYSTEM_SUPPORT)
|
|
||||||
#error Need HAVE_FILESYSTEM_SUPPORT for filesystem backend support
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_LOGGER_FILE_CONTENTS_ENABLED
|
#ifndef HAL_LOGGER_FILE_CONTENTS_ENABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user