From 88ba3e051c035edd889207bf2a5a6f891b5570da Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 29 Oct 2019 11:47:04 +1100 Subject: [PATCH] Tracker: let GCS superclass specify compass and param float capabilitiy --- AntennaTracker/GCS_Mavlink.cpp | 7 ------- AntennaTracker/GCS_Mavlink.h | 1 - 2 files changed, 8 deletions(-) diff --git a/AntennaTracker/GCS_Mavlink.cpp b/AntennaTracker/GCS_Mavlink.cpp index 059059b659..7f4a6fff5c 100644 --- a/AntennaTracker/GCS_Mavlink.cpp +++ b/AntennaTracker/GCS_Mavlink.cpp @@ -569,13 +569,6 @@ mission_failed: } // end handle mavlink -uint64_t GCS_MAVLINK_Tracker::capabilities() const -{ - return (MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT | - MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION | - GCS_MAVLINK::capabilities()); -} - /* * a delay() callback that processes MAVLink packets. We set this as the * callback in long running library initialisation routines to allow diff --git a/AntennaTracker/GCS_Mavlink.h b/AntennaTracker/GCS_Mavlink.h index 4c3c0baf0b..8d41e3c7b1 100644 --- a/AntennaTracker/GCS_Mavlink.h +++ b/AntennaTracker/GCS_Mavlink.h @@ -27,7 +27,6 @@ protected: bool set_home_to_current_location(bool lock) override WARN_IF_UNUSED; bool set_home(const Location& loc, bool lock) override WARN_IF_UNUSED; - uint64_t capabilities() const override; void send_nav_controller_output() const override; void send_pid_tuning() override;