From 7912fcd511c74cd3e9926f7e85128aeab3053815 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Fri, 15 Mar 2024 20:45:02 +0000 Subject: [PATCH] Plane: do_RTL: don't log mode --- ArduPlane/commands_logic.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ArduPlane/commands_logic.cpp b/ArduPlane/commands_logic.cpp index 7c50d9ab492498..215b4cf05e20d1 100644 --- a/ArduPlane/commands_logic.cpp +++ b/ArduPlane/commands_logic.cpp @@ -360,10 +360,6 @@ void Plane::do_RTL(int32_t rtl_altitude_AMSL_cm) setup_glide_slope(); setup_turn_angle(); - -#if HAL_LOGGING_ENABLED - logger.Write_Mode(control_mode->mode_number(), control_mode_reason); -#endif } Location Plane::calc_best_rally_or_home_location(const Location &_current_loc, float rtl_home_alt_amsl_cm) const