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

Removed 'BLACKBOX' and 'SDCARD' features.

This commit is contained in:
mikeller 2017-03-27 01:22:39 +13:00
parent d2751c53db
commit eab725ea59
4 changed files with 41 additions and 31 deletions

View file

@ -20,10 +20,15 @@ var Features = function (config) {
{bit: 14, group: 'rxMode', mode: 'select', name: 'RX_MSP'},
{bit: 15, group: 'rssi', name: 'RSSI_ADC'},
{bit: 16, group: 'other', name: 'LED_STRIP'},
{bit: 17, group: 'other', name: 'DISPLAY', haveTip: true},
{bit: 19, group: 'other', name: 'BLACKBOX', haveTip: true}
{bit: 17, group: 'other', name: 'DISPLAY', haveTip: true}
];
if (!semver.gte(config.apiVersion, "1.33.0")) {
features.push(
{bit: 19, group: 'other', name: 'BLACKBOX', haveTip: true}
);
}
if (semver.gte(config.apiVersion, "1.12.0")) {
features.push(
{bit: 20, group: 'other', name: 'CHANNEL_FORWARDING'}
@ -58,7 +63,7 @@ var Features = function (config) {
features.push(
{bit: 23, group: 'pidTuning', name: 'SUPEREXPO_RATES'}
);
} else {
} else if (!semver.gte(config.apiVersion, "1.33.0")) {
features.push(
{bit: 23, group: 'other', name: 'SDCARD'}
);