DataFlash_MAVLink: remove dead comments

This commit is contained in:
Peter Barker 2017-03-30 20:25:46 +11:00 committed by Francisco Ferreira
parent d8c475ad04
commit d3b442d8b6
2 changed files with 0 additions and 10 deletions

View File

@ -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));
}

View File

@ -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];