From fef1e6b5ca51b45454b1bde16d58530288830e94 Mon Sep 17 00:00:00 2001 From: MJ666 Date: Sun, 12 Apr 2020 13:44:42 +0200 Subject: [PATCH] Initial FrSky ACCST V2.1.x support --- src/js/tabs/configuration.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/js/tabs/configuration.js b/src/js/tabs/configuration.js index 26d4f2ca..5525b5b6 100644 --- a/src/js/tabs/configuration.js +++ b/src/js/tabs/configuration.js @@ -903,6 +903,13 @@ TABS.configuration.initialize = function (callback, scrollPosition) { ); } + if (semver.gte(CONFIG.apiVersion, API_VERSION_1_44)) { + spiRxTypes.push( + 'FRSKY_X_V2', + 'FRSKY_X_LBT_V2' + ); + } + var spiRx_e = $('select.spiRx'); for (var i = 0; i < spiRxTypes.length; i++) { spiRx_e.append('');