From d92311381f826ad94d21908c66f4c02c67ca50b2 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 8 Dec 2022 17:47:13 +1100 Subject: [PATCH] Blimp: add support for mavlink in-progress message --- Blimp/GCS_Mavlink.cpp | 4 ++-- Blimp/GCS_Mavlink.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Blimp/GCS_Mavlink.cpp b/Blimp/GCS_Mavlink.cpp index 7222ab4dff..515a2870b6 100644 --- a/Blimp/GCS_Mavlink.cpp +++ b/Blimp/GCS_Mavlink.cpp @@ -417,9 +417,9 @@ 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) +MAV_RESULT GCS_MAVLINK_Blimp::_handle_command_preflight_calibration(const mavlink_command_long_t &packet, const mavlink_message_t &msg) { - return GCS_MAVLINK::_handle_command_preflight_calibration(packet); + return GCS_MAVLINK::_handle_command_preflight_calibration(packet, msg); } diff --git a/Blimp/GCS_Mavlink.h b/Blimp/GCS_Mavlink.h index a268718b5a..3e2d67d7d4 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) override; + MAV_RESULT _handle_command_preflight_calibration(const mavlink_command_long_t &packet, const mavlink_message_t &msg) override; void send_position_target_global_int() override;