DataFlash: enabled POWR log msg on ChibiOS

This commit is contained in:
Andrew Tridgell 2018-04-08 19:48:09 +10:00
parent b4aeffbaed
commit 3b4d1d5d46
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ bool DataFlash_Backend::Log_Write_Message(const char *message)
void DataFlash_Class::Log_Write_Power(void) 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 = { struct log_POWR pkt = {
LOG_PACKET_HEADER_INIT(LOG_POWR_MSG), LOG_PACKET_HEADER_INIT(LOG_POWR_MSG),
time_us : AP_HAL::micros64(), time_us : AP_HAL::micros64(),