mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
LP-165 Set TxPID Acro+ range to 0-100
This commit is contained in:
parent
783322fd09
commit
96eed683ee
@ -419,12 +419,12 @@ void ConfigTxPIDWidget::updateSpinBoxProperties(int selectedPidOption)
|
||||
minPID->setDecimals(0);
|
||||
maxPID->setDecimals(0);
|
||||
} else if (isAcroPlusFactorOption(selectedPidOption)) {
|
||||
minPID->setRange(0, 1);
|
||||
maxPID->setRange(0, 1);
|
||||
minPID->setSingleStep(0.01);
|
||||
maxPID->setSingleStep(0.01);
|
||||
minPID->setDecimals(2);
|
||||
maxPID->setDecimals(2);
|
||||
minPID->setRange(0, 100);
|
||||
maxPID->setRange(0, 100);
|
||||
minPID->setSingleStep(1);
|
||||
maxPID->setSingleStep(1);
|
||||
minPID->setDecimals(0);
|
||||
maxPID->setDecimals(0);
|
||||
} else {
|
||||
minPID->setRange(0, 99.99);
|
||||
maxPID->setRange(0, 99.99);
|
||||
|
Loading…
x
Reference in New Issue
Block a user