diff --git a/libraries/AP_Logger/LogStructure.h b/libraries/AP_Logger/LogStructure.h index fdc57836f8..861a2dd2c7 100644 --- a/libraries/AP_Logger/LogStructure.h +++ b/libraries/AP_Logger/LogStructure.h @@ -368,6 +368,7 @@ struct PACKED log_MAV { uint16_t packet_tx_count; uint16_t packet_rx_success_count; uint16_t packet_rx_drop_count; + uint8_t flags; }; struct PACKED log_RSSI { @@ -1533,7 +1534,7 @@ struct PACKED log_Arm_Disarm { { LOG_RALLY_MSG, sizeof(log_Rally), \ "RALY", "QBBLLh", "TimeUS,Tot,Seq,Lat,Lng,Alt", "s--DUm", "F--GGB" }, \ { LOG_MAV_MSG, sizeof(log_MAV), \ - "MAV", "QBHHH", "TimeUS,chan,txp,rxp,rxdp", "s#---", "F-000" }, \ + "MAV", "QBHHHB", "TimeUS,chan,txp,rxp,rxdp,flags", "s#----", "F-000-" }, \ { LOG_VISUALODOM_MSG, sizeof(log_VisualOdom), \ "VISO", "Qffffffff", "TimeUS,dt,AngDX,AngDY,AngDZ,PosDX,PosDY,PosDZ,conf", "ssrrrmmm-", "FF000000-" }, \ { LOG_OPTFLOW_MSG, sizeof(log_Optflow), \