From 3b4d1d5d463c18ef2fe8b9aee81729b4be805bfc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 8 Apr 2018 19:48:09 +1000 Subject: [PATCH] DataFlash: enabled POWR log msg on ChibiOS --- libraries/DataFlash/LogFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/DataFlash/LogFile.cpp b/libraries/DataFlash/LogFile.cpp index 89f927dfca..2f329a333b 100644 --- a/libraries/DataFlash/LogFile.cpp +++ b/libraries/DataFlash/LogFile.cpp @@ -606,7 +606,7 @@ bool DataFlash_Backend::Log_Write_Message(const char *message) void DataFlash_Class::Log_Write_Power(void) { -#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 +#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS struct log_POWR pkt = { LOG_PACKET_HEADER_INIT(LOG_POWR_MSG), time_us : AP_HAL::micros64(),