From 884049bb1425ee400d532dc3530018b5d654494d Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Fri, 2 Jun 2023 09:24:02 +1000 Subject: [PATCH] GCS_MAVLink: move sysid_my_gcs to be public --- libraries/GCS_MAVLink/GCS_Dummy.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/GCS_MAVLink/GCS_Dummy.h b/libraries/GCS_MAVLink/GCS_Dummy.h index 0c18cde7a6..e588bf5c1c 100644 --- a/libraries/GCS_MAVLink/GCS_Dummy.h +++ b/libraries/GCS_MAVLink/GCS_Dummy.h @@ -23,11 +23,10 @@ private: void handleMessage(const mavlink_message_t &msg) override {} bool try_send_message(enum ap_message id) override { return true; } bool handle_guided_request(AP_Mission::Mission_Command &cmd) override { return true; } + uint8_t sysid_my_gcs() const override { return 1; } protected: - uint8_t sysid_my_gcs() const override { return 1; } - // dummy information: MAV_MODE base_mode() const override { return (MAV_MODE)MAV_MODE_FLAG_CUSTOM_MODE_ENABLED; } MAV_STATE vehicle_system_status() const override { return MAV_STATE_CALIBRATING; }