mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
DataFlash_MAVLink: remove dead comments
This commit is contained in:
parent
d8c475ad04
commit
d3b442d8b6
@ -338,9 +338,6 @@ void DataFlash_MAVLink::Log_Write_DF_MAV(DataFlash_MAVLink &df)
|
||||
state_sent_avg : (uint8_t)(df.stats.state_sent/df.stats.collection_count),
|
||||
state_sent_min : df.stats.state_sent_min,
|
||||
state_sent_max : df.stats.state_sent_max,
|
||||
// state_retry_avg : (uint8_t)(df.stats.state_retry/df.stats.collection_count),
|
||||
// state_retry_min : df.stats.state_retry_min,
|
||||
// state_retry_max : df.stats.state_retry_max
|
||||
};
|
||||
WriteBlock(&pkt,sizeof(pkt));
|
||||
}
|
||||
|
@ -64,13 +64,6 @@ public:
|
||||
void ShowDeviceInfo(AP_HAL::BetterStream *port) override {}
|
||||
void ListAvailableLogs(AP_HAL::BetterStream *port) override {}
|
||||
|
||||
// enum dm_block_state {
|
||||
// BLOCK_STATE_FREE = 17,
|
||||
// BLOCK_STATE_FILLING,
|
||||
// BLOCK_STATE_SEND_PENDING,
|
||||
// BLOCK_STATE_SEND_RETRY,
|
||||
// BLOCK_STATE_SENT
|
||||
// };
|
||||
struct dm_block {
|
||||
uint32_t seqno;
|
||||
uint8_t buf[MAVLINK_MSG_REMOTE_LOG_DATA_BLOCK_FIELD_DATA_LEN];
|
||||
|
Loading…
Reference in New Issue
Block a user