Merge pull request #398 from mikeller/added_srxl_rx_protocol

Added Spektrum SRXL serial RX protocol.
10.3.x-maintenance
Michael Keller 2017-01-18 13:53:42 +13:00 committed by GitHub
commit dd6bd0dda8
1 changed files with 4 additions and 0 deletions

View File

@ -419,6 +419,10 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
serialRXtypes.push('CRSF');
}
if (semver.gte(CONFIG.apiVersion, "1.24.0")) {
serialRXtypes.push('SRXL');
}
var serialRX_e = $('select.serialRX');
for (var i = 0; i < serialRXtypes.length; i++) {
serialRX_e.append('<option value="' + i + '">' + serialRXtypes[i] + '</option>');