From 25777adfb57538ba4dd873d0fc34f6569699170f Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 1 Feb 2024 12:56:52 +1100 Subject: [PATCH] AntennaTracker: provide and use base-method implementation for guided mode request --- AntennaTracker/GCS_Mavlink.cpp | 6 ------ AntennaTracker/GCS_Mavlink.h | 1 - 2 files changed, 7 deletions(-) diff --git a/AntennaTracker/GCS_Mavlink.cpp b/AntennaTracker/GCS_Mavlink.cpp index 102bffb61f..270d3a74df 100644 --- a/AntennaTracker/GCS_Mavlink.cpp +++ b/AntennaTracker/GCS_Mavlink.cpp @@ -161,12 +161,6 @@ void GCS_MAVLINK_Tracker::send_pid_tuning() } } -bool GCS_MAVLINK_Tracker::handle_guided_request(AP_Mission::Mission_Command&) -{ - // do nothing - return false; -} - /* default stream rates to 1Hz */ diff --git a/AntennaTracker/GCS_Mavlink.h b/AntennaTracker/GCS_Mavlink.h index f4a063842b..79610f0031 100644 --- a/AntennaTracker/GCS_Mavlink.h +++ b/AntennaTracker/GCS_Mavlink.h @@ -43,7 +43,6 @@ private: void handle_message_manual_control(const mavlink_message_t &msg); void handle_message_global_position_int(const mavlink_message_t &msg); void handle_message_scaled_pressure(const mavlink_message_t &msg); - bool handle_guided_request(AP_Mission::Mission_Command &cmd) override; void handle_set_attitude_target(const mavlink_message_t &msg); void send_global_position_int() override;