diff --git a/AntennaTracker/GCS_Mavlink.cpp b/AntennaTracker/GCS_Mavlink.cpp index 21fe71fc06..549d564f48 100644 --- a/AntennaTracker/GCS_Mavlink.cpp +++ b/AntennaTracker/GCS_Mavlink.cpp @@ -609,11 +609,6 @@ void Tracker::gcs_retry_deferred(void) gcs().retry_deferred(); } -Compass *GCS_MAVLINK_Tracker::get_compass() const -{ - return &tracker.compass; -} - /* set_mode() wrapper for MAVLink SET_MODE */ diff --git a/AntennaTracker/GCS_Mavlink.h b/AntennaTracker/GCS_Mavlink.h index e4743a79b4..9fa34830ee 100644 --- a/AntennaTracker/GCS_Mavlink.h +++ b/AntennaTracker/GCS_Mavlink.h @@ -14,7 +14,6 @@ protected: // as currently Tracker may brick XBees uint32_t telem_delay() const override { return 0; } - Compass *get_compass() const override; AP_Mission *get_mission() override { return nullptr; }; AP_Rally *get_rally() const override { return nullptr; }; AP_Camera *get_camera() const override { return nullptr; };