diff --git a/ArduPlane/GCS_Mavlink.cpp b/ArduPlane/GCS_Mavlink.cpp index 89348e70f8..b2101df1e6 100644 --- a/ArduPlane/GCS_Mavlink.cpp +++ b/ArduPlane/GCS_Mavlink.cpp @@ -1385,15 +1385,6 @@ void GCS_MAVLINK_Plane::handle_mission_set_current(AP_Mission &mission, const ma } } -AP_AdvancedFailsafe *GCS_MAVLINK_Plane::get_advanced_failsafe() const -{ -#if ADVANCED_FAILSAFE == ENABLED - return &plane.afs; -#else - return nullptr; -#endif -} - /* set_mode() wrapper for MAVLink SET_MODE */ diff --git a/ArduPlane/GCS_Mavlink.h b/ArduPlane/GCS_Mavlink.h index c31d95ab7b..b96d585eb4 100644 --- a/ArduPlane/GCS_Mavlink.h +++ b/ArduPlane/GCS_Mavlink.h @@ -16,8 +16,6 @@ protected: void handle_mission_set_current(AP_Mission &mission, const mavlink_message_t &msg) override; - AP_AdvancedFailsafe *get_advanced_failsafe() const override; - uint8_t sysid_my_gcs() const override; bool sysid_enforce() const override;