From 07a114052c8e41642aba661e61fa0cc9f76b5f35 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Thu, 9 Sep 2021 10:28:39 +0100 Subject: [PATCH] Blimp: remove defines for functions that dont exist --- Blimp/Blimp.h | 2 -- Blimp/mode.cpp | 5 ----- Blimp/mode.h | 2 -- 3 files changed, 9 deletions(-) diff --git a/Blimp/Blimp.h b/Blimp/Blimp.h index 64afa541dd..5ac5059295 100644 --- a/Blimp/Blimp.h +++ b/Blimp/Blimp.h @@ -361,8 +361,6 @@ private: // landing_detector.cpp void update_land_and_crash_detectors(); void update_land_detector(); - void set_land_complete(bool b); - void set_land_complete_maybe(bool b); // landing_gear.cpp void landinggear_update(); diff --git a/Blimp/mode.cpp b/Blimp/mode.cpp index f5f45f5e93..2b18ff2915 100644 --- a/Blimp/mode.cpp +++ b/Blimp/mode.cpp @@ -177,11 +177,6 @@ bool Mode::set_mode(Mode::Number mode, ModeReason reason) return blimp.set_mode(mode, reason); } -void Mode::set_land_complete(bool b) -{ - return blimp.set_land_complete(b); -} - GCS_Blimp &Mode::gcs() { return blimp.gcs(); diff --git a/Blimp/mode.h b/Blimp/mode.h index 9780de0e10..464c19c8ac 100644 --- a/Blimp/mode.h +++ b/Blimp/mode.h @@ -178,9 +178,7 @@ public: // these are candidates for moving into the Mode base // class. bool set_mode(Mode::Number mode, ModeReason reason); - void set_land_complete(bool b); GCS_Blimp &gcs(); - void set_throttle_takeoff(void); // end pass-through functions };