mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
AC_AttControl: remove unnecessary check of thr-mix-min
Checks directly above ensure this check can never be true
This commit is contained in:
parent
9426b0b366
commit
bcdd836820
@ -246,8 +246,4 @@ void AC_AttitudeControl_Multi::parameter_sanity_check()
|
||||
// which can be useful for very high powered copters with very low hover throttle
|
||||
_thr_mix_max = AC_ATTITUDE_CONTROL_MAX_DEFAULT;
|
||||
}
|
||||
if (_thr_mix_min > _thr_mix_max) {
|
||||
_thr_mix_min = AC_ATTITUDE_CONTROL_MIN_DEFAULT;
|
||||
_thr_mix_max = AC_ATTITUDE_CONTROL_MAX_DEFAULT;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user