Added recent SPI RX protocols to dropdown menu

10.5.x-maintenance
phobos 2019-01-09 18:04:57 +01:00
parent 9c0d297fe5
commit 332359cc7b
1 changed files with 8 additions and 0 deletions

View File

@ -678,6 +678,14 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
);
}
if (semver.gte(CONFIG.apiVersion, "1.41.0")) {
spiRxTypes.push(
'SFHSS',
'SPEKTRUM',
'FRSKY_X_LBT'
);
}
var spiRx_e = $('select.spiRx');
for (var i = 0; i < spiRxTypes.length; i++) {
spiRx_e.append('<option value="' + i + '">' + spiRxTypes[i] + '</option>');