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:
parent
87795f3623
commit
2caeda1597
2 changed files with 9 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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