From b7df2bce5ffe0388a1ffabf0f54b5a58cb5a8605 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 29 Jan 2022 22:19:14 +1100 Subject: [PATCH] Tools: provide default implemenation of handle_change_alt_request The TODO items to actually implement these are almost 6 years old. Since then these methods have been burning space. This doesn't even make sense for several vehicles, so a default implementation which does nothing seems OK. --- Tools/AP_Periph/GCS_MAVLink.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Tools/AP_Periph/GCS_MAVLink.h b/Tools/AP_Periph/GCS_MAVLink.h index 4196d70010..524ec93b23 100644 --- a/Tools/AP_Periph/GCS_MAVLink.h +++ b/Tools/AP_Periph/GCS_MAVLink.h @@ -31,7 +31,6 @@ private: uint32_t telem_delay() const override { return 0; } void handleMessage(const mavlink_message_t &msg) override { handle_common_message(msg); } bool handle_guided_request(AP_Mission::Mission_Command &cmd) override { return true; } - void handle_change_alt_request(AP_Mission::Mission_Command &cmd) override {} MAV_RESULT handle_preflight_reboot(const mavlink_command_long_t &packet) override; protected: