AP_Logger: add flags to MAV dataflash log

holds various pieces of simple information about a link
This commit is contained in:
Peter Barker 2020-02-20 16:13:50 +11:00 committed by Andrew Tridgell
parent e02a9890b3
commit 10c9bc3659
1 changed files with 2 additions and 1 deletions

View File

@ -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), \