1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-17 05:15:21 +03:00

Merge pull request #752 from mikeller/added_spi_rx_protocols

Added new SPI RX protocols.
This commit is contained in:
Michael Keller 2017-12-02 13:13:22 +13:00 committed by GitHub
commit 8278ba83a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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