Plane: added height to 10Hz TECS call

This commit is contained in:
Paul Riseborough 2013-07-10 13:31:29 +10:00 committed by Andrew Tridgell
parent cf6684ac0c
commit 971d36f06b

View File

@ -1254,7 +1254,8 @@ static void update_alt()
target_airspeed_cm,
(control_mode==AUTO && takeoff_complete == false),
takeoff_pitch_cd,
throttle_nudge);
throttle_nudge,
float(hgt_afe_cm)*0.01f);
if (g.log_bitmask & MASK_LOG_TECS) {
Log_Write_TECS_Tuning();
}