mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-20 06:45:12 +03:00
Change notice and add api version check
This commit is contained in:
parent
065d7176f3
commit
dcfb587302
2 changed files with 8 additions and 4 deletions
|
@ -1825,9 +1825,13 @@ TABS.pid_tuning.updateFilterWarning = function() {
|
|||
} else {
|
||||
warning_e.hide();
|
||||
}
|
||||
if (FEATURE_CONFIG.features.isEnabled('DYNAMIC_FILTER')) {
|
||||
warningDynamicNotch_e.hide();
|
||||
if (semver.gte(CONFIG.apiVersion, "1.42.0")) {
|
||||
if (FEATURE_CONFIG.features.isEnabled('DYNAMIC_FILTER')) {
|
||||
warningDynamicNotch_e.hide();
|
||||
} else {
|
||||
warningDynamicNotch_e.show();
|
||||
}
|
||||
} else {
|
||||
warningDynamicNotch_e.show();
|
||||
warningDynamicNotch_e.hide();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue