From 55710e7f7ba7f1c46bd217cc74c3c12a81bce578 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 23 Jan 2024 17:41:49 +1100 Subject: [PATCH] Blimp: use virtual method for GCS_MAVLink::handle_message use more appropriate naming for the method. --- 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 3e7f084ff0..296c9940fe 100644 --- a/Blimp/GCS_Mavlink.cpp +++ b/Blimp/GCS_Mavlink.cpp @@ -512,7 +512,7 @@ bool GCS_MAVLINK_Blimp::mav_frame_for_command_long(MAV_FRAME &frame, MAV_CMD pac } #endif -void GCS_MAVLINK_Blimp::handleMessage(const mavlink_message_t &msg) +void GCS_MAVLINK_Blimp::handle_message(const mavlink_message_t &msg) { switch (msg.msgid) { @@ -531,7 +531,7 @@ void GCS_MAVLINK_Blimp::handleMessage(const mavlink_message_t &msg) break; default: - handle_common_message(msg); + GCS_MAVLINK::handle_message(msg); break; } // end switch } // end handle mavlink diff --git a/Blimp/GCS_Mavlink.h b/Blimp/GCS_Mavlink.h index 756dddc3fc..42f2686950 100644 --- a/Blimp/GCS_Mavlink.h +++ b/Blimp/GCS_Mavlink.h @@ -46,7 +46,7 @@ protected: private: - void handleMessage(const mavlink_message_t &msg) override; + void handle_message(const mavlink_message_t &msg) override; bool handle_guided_request(AP_Mission::Mission_Command &cmd) override; bool try_send_message(enum ap_message id) override;