From 775a1eb4b677926ef7353baf9f6d9d964a7abd0f Mon Sep 17 00:00:00 2001 From: Silvan Fuhrer Date: Fri, 22 Oct 2021 16:47:22 +0200 Subject: [PATCH] RTL: remove unused function and non-informative comments Signed-off-by: Silvan Fuhrer --- src/modules/navigator/rtl.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/modules/navigator/rtl.h b/src/modules/navigator/rtl.h index aa69c6f73d..6c2e85d34c 100644 --- a/src/modules/navigator/rtl.h +++ b/src/modules/navigator/rtl.h @@ -93,8 +93,6 @@ public: int get_rtl_type() const { return _param_rtl_type.get(); } - int rtl_destination(); - void setClimbAndReturnDone(bool done) { _climb_and_return_done = done; } bool getClimbAndReturnDone() { return _climb_and_return_done; } @@ -104,17 +102,11 @@ public: void get_rtl_xy_z_speed(float &xy, float &z); matrix::Vector2f get_wind(); private: - /** - * Set the RTL item - */ + void set_rtl_item(); - /** - * Move to next RTL item - */ void advance_rtl(); - float calculate_return_alt_from_cone_half_angle(float cone_half_angle_deg); enum RTLState {