mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
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;
|
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
|
case MAVLINK_MSG_ID_SET_ATTITUDE_TARGET: { // MAV ID: 82
|
||||||
// decode packet
|
// decode packet
|
||||||
mavlink_set_attitude_target_t packet;
|
mavlink_set_attitude_target_t packet;
|
||||||
|
@ -145,9 +145,6 @@ private:
|
|||||||
// AP_Notify instance
|
// AP_Notify instance
|
||||||
AP_Notify notify;
|
AP_Notify notify;
|
||||||
|
|
||||||
// used to detect MAVLink acks from GCS to stop compassmot
|
|
||||||
uint8_t command_ack_counter;
|
|
||||||
|
|
||||||
// has a log download started?
|
// has a log download started?
|
||||||
bool in_log_download;
|
bool in_log_download;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user