From 3ced1b27aad33f11cbcf13e7facdae4fbf9689f8 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 14 Sep 2022 10:29:02 +1000 Subject: [PATCH] Blimp: remove empty override method --- Blimp/GCS_Mavlink.cpp | 6 ------ Blimp/GCS_Mavlink.h | 1 - 2 files changed, 7 deletions(-) diff --git a/Blimp/GCS_Mavlink.cpp b/Blimp/GCS_Mavlink.cpp index 23753a6010..5ffefd4960 100644 --- a/Blimp/GCS_Mavlink.cpp +++ b/Blimp/GCS_Mavlink.cpp @@ -430,12 +430,6 @@ MAV_RESULT GCS_MAVLINK_Blimp::handle_command_do_set_roi(const Location &roi_loc) return MAV_RESULT_ACCEPTED; } -MAV_RESULT GCS_MAVLINK_Blimp::handle_preflight_reboot(const mavlink_command_long_t &packet) -{ - // call parent - return GCS_MAVLINK::handle_preflight_reboot(packet); -} - bool GCS_MAVLINK_Blimp::set_home_to_current_location(bool _lock) { return blimp.set_home_to_current_location(_lock); diff --git a/Blimp/GCS_Mavlink.h b/Blimp/GCS_Mavlink.h index 901631fa9b..a268718b5a 100644 --- a/Blimp/GCS_Mavlink.h +++ b/Blimp/GCS_Mavlink.h @@ -26,7 +26,6 @@ protected: void send_position_target_global_int() override; MAV_RESULT handle_command_do_set_roi(const Location &roi_loc) override; - MAV_RESULT handle_preflight_reboot(const mavlink_command_long_t &packet) override; MAV_RESULT handle_command_mount(const mavlink_command_long_t &packet) override; MAV_RESULT handle_command_int_packet(const mavlink_command_int_t &packet) override; MAV_RESULT handle_command_long_packet(const mavlink_command_long_t &packet) override;