Skip to content

Commit

Permalink
Plane: do_RTL: don't log mode
Browse files Browse the repository at this point in the history
  • Loading branch information
IamPete1 authored and tridge committed Mar 19, 2024
1 parent 727f28b commit 7912fcd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ArduPlane/commands_logic.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 7912fcd

Please sign in to comment.