From c1827e09682b1949fce9abba25aa81bc6d0d8832 Mon Sep 17 00:00:00 2001 From: Steffen Windoffer Date: Sat, 11 Nov 2017 13:44:10 +0100 Subject: [PATCH] feature vtx got removed with 1.35 and is active by default --- js/Features.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/Features.js b/js/Features.js index 65640fe4..e7680248 100644 --- a/js/Features.js +++ b/js/Features.js @@ -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")) {