mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_TECS: Delete redundant _hgt_afe setting
This commit is contained in:
parent
2024eba262
commit
8a3d241dd8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user