mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
LP-551 Output tab: Allow min=max=neutral values, used with resetActuators() in input calibration.
This commit is contained in:
parent
e281a032a1
commit
5f72771b3c
@ -275,7 +275,7 @@ void OutputChannelForm::setChannelRange()
|
||||
|
||||
// Normal motor will be *** never *** reversed : without arming a "Min" value (like 1900) can be applied !
|
||||
if (isNormalMotor()) {
|
||||
if (minValue >= maxValue) {
|
||||
if (minValue > maxValue) {
|
||||
// Keep old values
|
||||
ui->actuatorMin->setValue(oldMini);
|
||||
ui->actuatorMax->setValue(oldMaxi);
|
||||
|
Loading…
x
Reference in New Issue
Block a user