diff --git a/ArduPlane/ArduPlane.cpp b/ArduPlane/ArduPlane.cpp index 59e65dc343e738..6691a09c134eb0 100644 --- a/ArduPlane/ArduPlane.cpp +++ b/ArduPlane/ArduPlane.cpp @@ -594,11 +594,11 @@ void Plane::update_alt() tecs_target_alt_cm = MAX(tecs_target_alt_cm, prev_WP_loc.alt - home.alt) + (g2.rtl_climb_min+10)*100; } + TECS_controller.set_tkoff_settings(get_takeoff_pitch_min_cd(), mode_takeoff.level_alt); TECS_controller.update_pitch_throttle(tecs_target_alt_cm, target_airspeed_cm, flight_stage, distance_beyond_land_wp, - get_takeoff_pitch_min_cd(), throttle_nudge, tecs_hgt_afe(), aerodynamic_load_factor,