Change OSD bit

10.3.x-maintenance
U-DESKTOP-12PPI61\boris.bozic 2016-08-04 11:57:39 +02:00
parent f2f682be12
commit 799c9ac6f4
1 changed files with 6 additions and 1 deletions

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'}
);
}