mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Merge pull request #185 from mikeller/fix_rc_smoothing_hiding
Fixed hiding of rcSmoothing parameters.
This commit is contained in:
commit
0a74b4420d
1 changed files with 4 additions and 8 deletions
|
@ -551,11 +551,11 @@ TABS.pid_tuning.initialize = function (callback) {
|
||||||
} else {
|
} else {
|
||||||
$('.tab-pid_tuning .rate_profile').hide();
|
$('.tab-pid_tuning .rate_profile').hide();
|
||||||
|
|
||||||
$('.pid-tuning .rcSmoothing').hide();
|
$('#pid-tuning .rcSmoothing').hide();
|
||||||
$('.pid-tuning .rcSmoothingInterval').hide();
|
$('#pid-tuning .rcSmoothingInterval').hide();
|
||||||
|
|
||||||
$('.pid-tuning .ptermSetpoint').hide();
|
$('#pid-tuning .ptermSetpoint').hide();
|
||||||
$('.pid-tuning .dtermSetpoint').hide();
|
$('#pid-tuning .dtermSetpoint').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!semver.gte(CONFIG.flightControllerVersion, "2.8.2")) {
|
if (!semver.gte(CONFIG.flightControllerVersion, "2.8.2")) {
|
||||||
|
@ -968,9 +968,5 @@ TABS.pid_tuning.updatePidControllerParameters = function () {
|
||||||
|
|
||||||
$('#pid-tuning .delta').hide();
|
$('#pid-tuning .delta').hide();
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
$('#pid-tuning .delta').show();
|
|
||||||
$('#pid-tuning .ptermSetpoint').hide();
|
|
||||||
$('#pid-tuning .dtermSetpoint').hide();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue