1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 01:05:15 +03:00

Add Super Expo feature

This commit is contained in:
U-DESKTOP-12PPI61\boris.bozic 2016-06-26 02:45:31 +02:00
parent 87795f3623
commit 2caeda1597
2 changed files with 9 additions and 0 deletions

View file

@ -526,6 +526,9 @@
"featureTRANSPONDERTip": {
"message": "Configure via the Race Transponder tab after enabling."
},
"featureSUPEREXPO_RATES": {
"message": "Rate value adds instead of rate also Super Expo. Mid stick stays same. Rc rate is always liniear"
},
"configurationFeatureEnabled": {
"message": "Enabled"

View file

@ -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)) {