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:
parent
f2f682be12
commit
799c9ac6f4
1 changed files with 6 additions and 1 deletions
|
@ -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")) {
|
if (config.flightControllerVersion !== '' && semver.gte(config.flightControllerVersion, "2.8.0")) {
|
||||||
features.push(
|
features.push(
|
||||||
{bit: 22, group: 'other', name: 'AIRMODE'},
|
{bit: 22, group: 'other', name: 'AIRMODE'},
|
||||||
{bit: 23, group: 'pidTuning', name: 'SUPEREXPO_RATES'},
|
{bit: 23, group: 'pidTuning', name: 'SUPEREXPO_RATES'},
|
||||||
{bit: 24, group: 'other', name: 'OSD'}
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue