diff --git a/AntennaTracker/GCS_Mavlink.cpp b/AntennaTracker/GCS_Mavlink.cpp index c101e7869d..828c8412c3 100644 --- a/AntennaTracker/GCS_Mavlink.cpp +++ b/AntennaTracker/GCS_Mavlink.cpp @@ -771,11 +771,6 @@ void Tracker::gcs_retry_deferred(void) gcs().retry_deferred(); } -AP_GPS *GCS_MAVLINK_Tracker::get_gps() const -{ - return &tracker.gps; -} - Compass *GCS_MAVLINK_Tracker::get_compass() const { return &tracker.compass; diff --git a/AntennaTracker/GCS_Mavlink.h b/AntennaTracker/GCS_Mavlink.h index 6604890eb3..06b81b383d 100644 --- a/AntennaTracker/GCS_Mavlink.h +++ b/AntennaTracker/GCS_Mavlink.h @@ -21,7 +21,6 @@ protected: AP_Rally *get_rally() const override { return nullptr; }; AP_Camera *get_camera() const override { return nullptr; }; AP_ServoRelayEvents *get_servorelayevents() const override { return nullptr; } - AP_GPS *get_gps() const override; const AP_FWVersion &get_fwver() const override; void set_ekf_origin(const Location& loc) override;