DataFlash: remove unused DataFlash_MAVLink method

This commit is contained in:
Peter Barker 2017-04-11 13:55:13 +10:00 committed by Randy Mackay
parent 3a8994b2ce
commit 25930e5bf3
2 changed files with 0 additions and 6 deletions

View File

@ -297,11 +297,6 @@ void DataFlash_MAVLink::handle_retry(uint32_t seqno)
} }
} }
void DataFlash_MAVLink::set_channel(mavlink_channel_t chan)
{
_chan = chan;
}
void DataFlash_MAVLink::internal_error() { void DataFlash_MAVLink::internal_error() {
internal_errors++; internal_errors++;
DataFlash_Backend::internal_error(); DataFlash_Backend::internal_error();

View File

@ -80,7 +80,6 @@ private:
void handle_ack(mavlink_channel_t chan, mavlink_message_t* msg, uint32_t seqno); void handle_ack(mavlink_channel_t chan, mavlink_message_t* msg, uint32_t seqno);
void handle_retry(uint32_t block_num); void handle_retry(uint32_t block_num);
void do_resends(uint32_t now); void do_resends(uint32_t now);
void set_channel(mavlink_channel_t chan);
void free_all_blocks(); void free_all_blocks();
// a stack for free blocks, queues for pending, sent, retries and sent // a stack for free blocks, queues for pending, sent, retries and sent