mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Logger: do not use dataflash on SITL
This commit is contained in:
parent
ea03d4e44b
commit
bd33267fd3
@ -11,7 +11,7 @@
|
||||
|
||||
// set default for HAL_LOGGING_DATAFLASH_ENABLED
|
||||
#ifndef HAL_LOGGING_DATAFLASH_ENABLED
|
||||
#define HAL_LOGGING_DATAFLASH_ENABLED HAL_LOGGING_ENABLED
|
||||
#define HAL_LOGGING_DATAFLASH_ENABLED (HAL_LOGGING_ENABLED && (CONFIG_HAL_BOARD != HAL_BOARD_SITL))
|
||||
#endif
|
||||
|
||||
#ifndef HAL_LOGGING_MAVLINK_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user