From 0f48bf755208fe5ec0c2ba7915cd146820d38785 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 7 Sep 2023 20:13:30 +1000 Subject: [PATCH] Blimp: support preflight calibration via command_int --- Blimp/GCS_Mavlink.cpp | 2 +- Blimp/GCS_Mavlink.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Blimp/GCS_Mavlink.cpp b/Blimp/GCS_Mavlink.cpp index 5ffabf5ef9..333e082ca8 100644 --- a/Blimp/GCS_Mavlink.cpp +++ b/Blimp/GCS_Mavlink.cpp @@ -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); } diff --git a/Blimp/GCS_Mavlink.h b/Blimp/GCS_Mavlink.h index 100d06f0dd..7ff116581c 100644 --- a/Blimp/GCS_Mavlink.h +++ b/Blimp/GCS_Mavlink.h @@ -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;