Blimp: support preflight calibration via command_int

This commit is contained in:
Peter Barker 2023-09-07 20:13:30 +10:00 committed by Peter Barker
parent 2d5452d540
commit 0f48bf7552
2 changed files with 2 additions and 2 deletions

View File

@ -417,7 +417,7 @@ void GCS_MAVLINK_Blimp::send_banner()
send_text(MAV_SEVERITY_INFO, "Frame: %s", blimp.get_frame_string());
}
MAV_RESULT GCS_MAVLINK_Blimp::_handle_command_preflight_calibration(const mavlink_command_long_t &packet, const mavlink_message_t &msg)
MAV_RESULT GCS_MAVLINK_Blimp::_handle_command_preflight_calibration(const mavlink_command_int_t &packet, const mavlink_message_t &msg)
{
return GCS_MAVLINK::_handle_command_preflight_calibration(packet, msg);
}

View File

@ -21,7 +21,7 @@ protected:
bool params_ready() const override;
void send_banner() override;
MAV_RESULT _handle_command_preflight_calibration(const mavlink_command_long_t &packet, const mavlink_message_t &msg) override;
MAV_RESULT _handle_command_preflight_calibration(const mavlink_command_int_t &packet, const mavlink_message_t &msg) override;
void send_position_target_global_int() override;