From 5f72771b3cda169355eda140ec125a0f1eb0fd3b Mon Sep 17 00:00:00 2001 From: Laurent Lalanne Date: Sun, 14 Jan 2018 17:33:46 +0100 Subject: [PATCH] LP-551 Output tab: Allow min=max=neutral values, used with resetActuators() in input calibration. --- ground/gcs/src/plugins/config/outputchannelform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/gcs/src/plugins/config/outputchannelform.cpp b/ground/gcs/src/plugins/config/outputchannelform.cpp index 1132651c1..b04080a86 100644 --- a/ground/gcs/src/plugins/config/outputchannelform.cpp +++ b/ground/gcs/src/plugins/config/outputchannelform.cpp @@ -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);