Sub: Remove unused command_ack_counter

This commit is contained in:
Jacob Walser 2017-04-16 13:53:19 -04:00
parent d0171395b8
commit 697b095e99
2 changed files with 0 additions and 8 deletions

View File

@ -1475,11 +1475,6 @@ void GCS_MAVLINK_Sub::handleMessage(mavlink_message_t* msg)
break;
}
case MAVLINK_MSG_ID_COMMAND_ACK: { // MAV ID: 77
sub.command_ack_counter++;
break;
}
case MAVLINK_MSG_ID_SET_ATTITUDE_TARGET: { // MAV ID: 82
// decode packet
mavlink_set_attitude_target_t packet;

View File

@ -145,9 +145,6 @@ private:
// AP_Notify instance
AP_Notify notify;
// used to detect MAVLink acks from GCS to stop compassmot
uint8_t command_ack_counter;
// has a log download started?
bool in_log_download;