From 5447992558bdf83fbb8c6946c42c3267865d976c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 26 Nov 2019 13:46:28 +1100 Subject: [PATCH] Plane: rename system_status as it won't be called from base class --- ArduPlane/GCS_Mavlink.cpp | 2 +- ArduPlane/GCS_Mavlink.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduPlane/GCS_Mavlink.cpp b/ArduPlane/GCS_Mavlink.cpp index 93871fb027..460648c2b6 100644 --- a/ArduPlane/GCS_Mavlink.cpp +++ b/ArduPlane/GCS_Mavlink.cpp @@ -93,7 +93,7 @@ uint32_t GCS_Plane::custom_mode() const return plane.control_mode->mode_number(); } -MAV_STATE GCS_MAVLINK_Plane::system_status() const +MAV_STATE GCS_MAVLINK_Plane::vehicle_system_status() const { if (plane.control_mode == &plane.mode_initializing) { return MAV_STATE_CALIBRATING; diff --git a/ArduPlane/GCS_Mavlink.h b/ArduPlane/GCS_Mavlink.h index a240016e1d..dd7676c594 100644 --- a/ArduPlane/GCS_Mavlink.h +++ b/ArduPlane/GCS_Mavlink.h @@ -55,7 +55,7 @@ private: void packetReceived(const mavlink_status_t &status, const mavlink_message_t &msg) override; MAV_MODE base_mode() const override; - MAV_STATE system_status() const override; + MAV_STATE vehicle_system_status() const override; uint8_t radio_in_rssi() const;