mirror of https://github.com/ArduPilot/ardupilot
DataFlash: enabled POWR log msg on ChibiOS
This commit is contained in:
parent
b4aeffbaed
commit
3b4d1d5d46
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue