1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 21:05:30 +03:00

Added new rc rate calculation to rates curve. Removed SUPER_EXPO feature for >= 3.0.

Added support for RC Expo Power setting.

fixed titlebar in pid tuning tab

request from @mikeller #252
fixed titlebar from pid tuning and accel
This commit is contained in:
mikeller 2016-08-27 12:34:05 +12:00 committed by Michael Keller
parent 158a415bfc
commit 1da5219bf2
8 changed files with 165 additions and 159 deletions

View file

@ -46,17 +46,26 @@ var Features = function (config) {
);
}
if (config.flightControllerVersion !== '' && semver.gte(config.flightControllerVersion, "3.0.0")) {
features.push(
{bit: 18, group: 'other', name: 'OSD', haveTip: true}
);
}
if (config.flightControllerVersion !== '') {
if (semver.gte(config.flightControllerVersion, "2.8.0")) {
features.push(
{bit: 22, group: 'other', name: 'AIRMODE'}
);
}
if (semver.gte(config.flightControllerVersion, "2.8.0") && !semver.gte(config.flightControllerVersion, "3.0.0")) {
features.push(
{bit: 23, group: 'pidTuning', name: 'SUPEREXPO_RATES'}
);
}
if (semver.gte(config.flightControllerVersion, "3.0.0")) {
features.push(
{bit: 18, group: 'other', name: 'OSD', haveTip: true}
);
}
if (config.flightControllerVersion !== '' && semver.gte(config.flightControllerVersion, "2.8.0")) {
features.push(
{bit: 22, group: 'other', name: 'AIRMODE'},
{bit: 23, group: 'pidTuning', name: 'SUPEREXPO_RATES'}
);
}
self._features = features;