1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

Constrain rates minimum setting (#3124)

Constrain rates minumum setting
This commit is contained in:
haslinghuis 2022-12-08 02:21:13 +01:00 committed by GitHub
parent 29593eccbb
commit 402b7323a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3042,7 +3042,7 @@ pid_tuning.changeRatesSystem = function(sameType) {
let rcRateMax = 2.55, rcRateMin = 0.01, rcRateStep = 0.01;
let rateMax = 1.0, rateStep = 0.01;
let expoMax = 1.0, expoStep = 0.01;
const rateMin = 0;
let rateMin = 0;
const expoMin = 0;
const pitch_rate_e = $('.pid_tuning input[name="pitch_rate"]');
@ -3120,6 +3120,7 @@ pid_tuning.changeRatesSystem = function(sameType) {
rateLabel.text(i18n.getMessage("pidTuningRateQuickRates"));
rcExpoLabel.text(i18n.getMessage("pidTuningRcExpoRaceflight"));
rateMin = 10;
rateMax = 2000;
rateStep = 10;
rcRateMax = 2000;
@ -3150,6 +3151,7 @@ pid_tuning.changeRatesSystem = function(sameType) {
rateLabel.text(i18n.getMessage("pidTuningRateQuickRates"));
rcExpoLabel.text(i18n.getMessage("pidTuningRcExpoRaceflight"));
rateMin = 10;
rateMax = 2000;
rateStep = 10;