1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-22 15:55:33 +03:00

Auto merged - #2503 at Fri, 11 Jun 2021 05:09:13 GMT

Added PT2 and PT3 filter types
This commit is contained in:
J Blackman 2021-06-11 15:09:14 +10:00 committed by GitHub
commit 9b4a4225a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}