mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-21 07:15:15 +03:00
Add PT2 and PT3 filter types
This commit is contained in:
parent
517393a289
commit
b47d691953
1 changed files with 4 additions and 0 deletions
|
@ -1394,6 +1394,10 @@ TABS.pid_tuning.initialize = function (callback) {
|
||||||
if (semver.lt(FC.CONFIG.apiVersion, API_VERSION_1_39)) {
|
if (semver.lt(FC.CONFIG.apiVersion, API_VERSION_1_39)) {
|
||||||
filterTypeValues.push("FIR");
|
filterTypeValues.push("FIR");
|
||||||
}
|
}
|
||||||
|
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_44)) {
|
||||||
|
filterTypeValues.push("PT2");
|
||||||
|
filterTypeValues.push("PT3");
|
||||||
|
}
|
||||||
return filterTypeValues;
|
return filterTypeValues;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue