From cf2415569c5c48ab4ebabe662fc69b2032d79461 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 30 Aug 2018 19:58:10 +1000 Subject: [PATCH] Tracker: GCS_MAVLink uses compass singleton, stop implementing get_compass --- AntennaTracker/GCS_Mavlink.cpp | 5 ----- AntennaTracker/GCS_Mavlink.h | 1 - 2 files changed, 6 deletions(-) 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; };