forked from Archive/PX4-Autopilot
Remove last reference to mtecs enabled param
This commit is contained in:
parent
90a5ae1afd
commit
81f60329e4
|
@ -756,11 +756,9 @@ FixedwingPositionControl::control_position(const math::Vector<2> ¤t_positi
|
|||
|
||||
if (!_was_pos_control_mode) {
|
||||
/* reset integrators */
|
||||
if (_mTecs.getEnabled()) {
|
||||
_mTecs.resetIntegrators();
|
||||
_mTecs.resetDerivatives(_airspeed.true_airspeed_m_s);
|
||||
}
|
||||
}
|
||||
|
||||
_was_pos_control_mode = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue