1
0
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:
Laurent Lalanne 2018-01-14 17:33:46 +01:00
parent e281a032a1
commit 5f72771b3c

View File

@ -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);