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

Merge pull request #1268 from phobos-/rx-spi-protocols

Added recent SPI RX protocols to dropdown menu
This commit is contained in:
Michael Keller 2019-01-11 09:13:59 +13:00 committed by GitHub
commit d3a96a7f1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>');