1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 08:15:22 +03:00

Merge pull request #720 from wind0r/remove_vtx_feature_in_current_versions

feature vtx got removed with 1.35 and is active by default
This commit is contained in:
Michael Keller 2017-11-12 01:59:29 +13:00 committed by GitHub
commit d145147ba3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,8 +73,12 @@ var Features = function (config) {
if (semver.gte(CONFIG.apiVersion, "1.20.0")) {
features.push(
{bit: 18, group: 'other', name: 'OSD'},
{bit: 24, group: 'other', name: 'VTX'}
);
if (!semver.gte(CONFIG.apiVersion, "1.35.0")) {
features.push(
{bit: 24, group: 'other', name: 'VTX'}
)
}
}
if (semver.gte(CONFIG.apiVersion, "1.31.0")) {