1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 17:55:24 +03:00

disable only if rpy

This commit is contained in:
Asizon 2021-12-08 09:34:33 +01:00
parent 5a13439897
commit 476ba71e63
2 changed files with 29 additions and 9 deletions

View file

@ -405,8 +405,10 @@ TuningSliders.updatePidSlidersDisplay = function() {
});
});
if ($('input[id="useIntegratedYaw"]').is(':checked')) {
this.pidSlidersUnavailable = true;
if (semver.lt(FC.CONFIG.apiVersion, API_VERSION_1_44)) {
if ($('input[id="useIntegratedYaw"]').is(':checked')) {
this.pidSlidersUnavailable = true;
}
}
if (!this.pidSlidersUnavailable) {