Plane: do_RTL: don't log mode

This commit is contained in:
Iampete1 2024-03-15 20:45:02 +00:00 committed by Andrew Tridgell
parent 727f28bb99
commit 7912fcd511
1 changed files with 0 additions and 4 deletions

View File

@ -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