mirror of https://github.com/ArduPilot/ardupilot
Blimp: remove unused command_ack counter
This commit is contained in:
parent
051be6c160
commit
c064e09806
|
@ -126,9 +126,6 @@ private:
|
||||||
Parameters g;
|
Parameters g;
|
||||||
ParametersG2 g2;
|
ParametersG2 g2;
|
||||||
|
|
||||||
// used to detect MAVLink acks from GCS to stop compassmot
|
|
||||||
uint8_t command_ack_counter;
|
|
||||||
|
|
||||||
// primary input control channels
|
// primary input control channels
|
||||||
RC_Channel *channel_right;
|
RC_Channel *channel_right;
|
||||||
RC_Channel *channel_front;
|
RC_Channel *channel_front;
|
||||||
|
|
|
@ -484,12 +484,6 @@ void GCS_MAVLINK_Blimp::handle_rc_channels_override(const mavlink_message_t &msg
|
||||||
GCS_MAVLINK::handle_rc_channels_override(msg);
|
GCS_MAVLINK::handle_rc_channels_override(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GCS_MAVLINK_Blimp::handle_command_ack(const mavlink_message_t &msg)
|
|
||||||
{
|
|
||||||
blimp.command_ack_counter++;
|
|
||||||
GCS_MAVLINK::handle_command_ack(msg);
|
|
||||||
}
|
|
||||||
|
|
||||||
MAV_RESULT GCS_MAVLINK_Blimp::_handle_command_preflight_calibration(const mavlink_command_long_t &packet)
|
MAV_RESULT GCS_MAVLINK_Blimp::_handle_command_preflight_calibration(const mavlink_command_long_t &packet)
|
||||||
{
|
{
|
||||||
return GCS_MAVLINK::_handle_command_preflight_calibration(packet);
|
return GCS_MAVLINK::_handle_command_preflight_calibration(packet);
|
||||||
|
|
|
@ -47,7 +47,6 @@ protected:
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void handleMessage(const mavlink_message_t &msg) override;
|
void handleMessage(const mavlink_message_t &msg) override;
|
||||||
void handle_command_ack(const mavlink_message_t &msg) override;
|
|
||||||
bool handle_guided_request(AP_Mission::Mission_Command &cmd) override;
|
bool handle_guided_request(AP_Mission::Mission_Command &cmd) override;
|
||||||
void handle_change_alt_request(AP_Mission::Mission_Command &cmd) override;
|
void handle_change_alt_request(AP_Mission::Mission_Command &cmd) override;
|
||||||
void handle_rc_channels_override(const mavlink_message_t &msg) override;
|
void handle_rc_channels_override(const mavlink_message_t &msg) override;
|
||||||
|
|
Loading…
Reference in New Issue