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

Change OSD bit

This commit is contained in:
U-DESKTOP-12PPI61\boris.bozic 2016-08-04 11:57:39 +02:00
parent f2f682be12
commit 799c9ac6f4

View file

@ -37,11 +37,16 @@ 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 !== '' && semver.gte(config.flightControllerVersion, "2.8.0")) {
features.push(
{bit: 22, group: 'other', name: 'AIRMODE'},
{bit: 23, group: 'pidTuning', name: 'SUPEREXPO_RATES'},
{bit: 24, group: 'other', name: 'OSD'}
);
}