Skip to content

Commit

Permalink
DataFlash: fix up logging on ChibiOS after change for F4Light
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Apr 11, 2018
1 parent 1ad6de1 commit 2b49a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/DataFlash/DataFlash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 2b49a3a

Please sign in to comment.