diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 720ca199..0a9d37c1 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -530,7 +530,10 @@ "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 linear" + "message": "Use Super Expo rates curve" + }, + "featureSUPEREXPO_RATESTip": { + "message": "Rate value adds instead of rate also Super Expo. Mid stick stays same. Rc rate is always linear. You can modify this setting in the PID tuning tab." }, "featureAIRMODE": { "message": "Airmode always enabled!" @@ -1597,11 +1600,11 @@ "pidTuningYaw": { "message": "Yaw (Hz)" }, - "pidTuningShowRatesWithSuperExpo": { - "message": "Show rates with SuperExpo" + "pidTuningSuperExpo": { + "message": "Enable SuperExpo" }, "pidTuningRatesSuperExpoHelp": { - "message": "To enable SuperExpo, enable 'SUPEREXPO_RATES' in 'Other Features' on the 'Configuration' tab." + "message": "This setting controls the feature 'SUPEREXPO_RATES'" }, "configHelp2": { "message": "Arbitrary board rotation in degrees, to allow mounting it sideways / upside down / rotated etc. When running external sensors, use the sensor alignments (Gyro, Acc, Mag) to define sensor position independent from board orientation. " diff --git a/tabs/configuration.js b/tabs/configuration.js index 3482aa8f..f958b369 100644 --- a/tabs/configuration.js +++ b/tabs/configuration.js @@ -157,10 +157,10 @@ TABS.configuration.initialize = function (callback, scrollPosition) { ); } - if (CONFIG.flightControllerIdentifier == "BTFL" && semver.gte(CONFIG.flightControllerVersion, "2.8.0")) { + if (CONFIG.flightControllerIdentifier === "BTFL" && semver.gte(CONFIG.flightControllerVersion, "2.8.0")) { features.push( {bit: 22, group: 'other', name: 'AIRMODE'}, - {bit: 23, group: 'other', name: 'SUPEREXPO_RATES'} + {bit: 23, group: 'other', mode: 'readonly', name: 'SUPEREXPO_RATES', haveTip: true} ); } @@ -201,13 +201,20 @@ TABS.configuration.initialize = function (callback, scrollPosition) { + feature_tip_html + ''); radioGroups.push(features[i].group); } else { + var readonlyModifier = ''; + if (features[i].mode === 'readonly') { + readonlyModifier = ' readonly'; + } + row_e = $('