mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 09:15:49 +03:00
Add Super Expo feature
This commit is contained in:
parent
87795f3623
commit
2caeda1597
2 changed files with 9 additions and 0 deletions
|
@ -157,6 +157,12 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
);
|
||||
}
|
||||
|
||||
if (CONFIG.flightControllerIdentifier == "BTFL" && semver.gte(CONFIG.flightControllerVersion, "2.8.0")) {
|
||||
features.push(
|
||||
{bit: 23, group: 'other', name: 'SUPEREXPO_RATES'}
|
||||
);
|
||||
}
|
||||
|
||||
function isFeatureEnabled(featureName) {
|
||||
for (var i = 0; i < features.length; i++) {
|
||||
if (features[i].name == featureName && bit_check(BF_CONFIG.features, features[i].bit)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue