mirror of https://github.com/ArduPilot/ardupilot
DataFlash: fix up logging on ChibiOS after change for F4Light
This commit is contained in:
parent
1ad6de1e80
commit
2b49a3ab7b
|
@ -82,7 +82,7 @@ void DataFlash_Class::Init(const struct LogStructure *structures, uint8_t num_ty
|
|||
_structures = structures;
|
||||
|
||||
#if defined(HAL_BOARD_LOG_DIRECTORY)
|
||||
#if HAL_OS_POSIX_IO
|
||||
#if HAL_OS_POSIX_IO || HAL_OS_FATFS_IO
|
||||
if (_params.backend_types == DATAFLASH_BACKEND_FILE ||
|
||||
_params.backend_types == DATAFLASH_BACKEND_BOTH) {
|
||||
DFMessageWriter_DFLogStart *message_writer =
|
||||
|
|
Loading…
Reference in New Issue