mirror of https://github.com/ArduPilot/ardupilot
DataFlash: fixed build for aerofc-v1
This commit is contained in:
parent
6358081b18
commit
274e441292
|
@ -74,7 +74,7 @@ void DataFlash_Class::Init(const struct LogStructure *structures, uint8_t num_ty
|
|||
_num_types = num_types;
|
||||
_structures = structures;
|
||||
|
||||
#if HAL_OS_POSIX_IO
|
||||
#if HAL_OS_POSIX_IO && defined(HAL_BOARD_LOG_DIRECTORY)
|
||||
if (_params.backend_types == DATAFLASH_BACKEND_FILE ||
|
||||
_params.backend_types == DATAFLASH_BACKEND_BOTH) {
|
||||
DFMessageWriter_DFLogStart *message_writer =
|
||||
|
|
Loading…
Reference in New Issue