1
0
Fork 0
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:
Asizon 2021-06-06 10:10:10 +02:00
parent 517393a289
commit b47d691953

View file

@ -1394,6 +1394,10 @@ TABS.pid_tuning.initialize = function (callback) {
if (semver.lt(FC.CONFIG.apiVersion, API_VERSION_1_39)) {
filterTypeValues.push("FIR");
}
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_44)) {
filterTypeValues.push("PT2");
filterTypeValues.push("PT3");
}
return filterTypeValues;
}