mirror of https://github.com/ArduPilot/ardupilot
ArduPlane: add support for mavlink in-progress message
This commit is contained in:
parent
9e00b8eeac
commit
c18276e19b
|
@ -696,10 +696,10 @@ void GCS_MAVLINK_Plane::handle_change_alt_request(AP_Mission::Mission_Command &c
|
|||
}
|
||||
|
||||
|
||||
MAV_RESULT GCS_MAVLINK_Plane::handle_command_preflight_calibration(const mavlink_command_long_t &packet)
|
||||
MAV_RESULT GCS_MAVLINK_Plane::handle_command_preflight_calibration(const mavlink_command_long_t &packet, const mavlink_message_t &msg)
|
||||
{
|
||||
plane.in_calibration = true;
|
||||
MAV_RESULT ret = GCS_MAVLINK::handle_command_preflight_calibration(packet);
|
||||
MAV_RESULT ret = GCS_MAVLINK::handle_command_preflight_calibration(packet, msg);
|
||||
plane.in_calibration = false;
|
||||
|
||||
return ret;
|
||||
|
|
|
@ -20,7 +20,7 @@ protected:
|
|||
uint8_t sysid_my_gcs() const override;
|
||||
bool sysid_enforce() const override;
|
||||
|
||||
MAV_RESULT handle_command_preflight_calibration(const mavlink_command_long_t &packet) override;
|
||||
MAV_RESULT handle_command_preflight_calibration(const mavlink_command_long_t &packet, const mavlink_message_t &msg) override;
|
||||
MAV_RESULT handle_command_int_packet(const mavlink_command_int_t &packet) override;
|
||||
MAV_RESULT handle_command_long_packet(const mavlink_command_long_t &packet) override;
|
||||
MAV_RESULT handle_command_do_set_mission_current(const mavlink_command_long_t &packet) override;
|
||||
|
|
Loading…
Reference in New Issue