AP_TECS: Delete redundant _hgt_afe setting

This commit is contained in:
George Zogopoulos 2024-11-19 11:40:49 +01:00 committed by Andrew Tridgell
parent 2024eba262
commit 8a3d241dd8

View File

@ -1121,7 +1121,6 @@ void AP_TECS::_initialise_states(float hgt_afe)
_integKE = 0.0f;
_last_throttle_dem = aparm.throttle_cruise * 0.01f;
_last_pitch_dem = _ahrs.get_pitch();
_hgt_afe = hgt_afe;
_hgt_dem_in_prev = hgt_afe;
_hgt_dem_lpf = hgt_afe;
_hgt_dem_rate_ltd = hgt_afe;