mirror of https://github.com/ArduPilot/ardupilot
Sub: Remove unused command_ack_counter
This commit is contained in:
parent
d0171395b8
commit
697b095e99
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue