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 646a1a54c2
commit 0f9268c6c8
1 changed files with 0 additions and 1 deletions

View File

@ -1124,7 +1124,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;