Merge pull request #351 from mikeller/add_crsf_serial_rx

Added support for CRSF serial Rx / telemetry.
10.3.x-maintenance
Michael Keller 2016-11-30 13:27:09 +13:00 committed by GitHub
commit c165fca463
1 changed files with 5 additions and 1 deletions

View File

@ -373,10 +373,14 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
serialRXtypes.push('IBUS');
}
if (CONFIG.flightControllerIdentifier == "BTFL" && semver.gte(CONFIG.flightControllerVersion, "2.6.0")) {
if (semver.gte(CONFIG.flightControllerVersion, "2.6.0")) {
serialRXtypes.push('JETIEXBUS');
}
if (semver.gte(CONFIG.flightControllerVersion, "3.1.0")) {
serialRXtypes.push('CRSF');
}
var serialRX_e = $('select.serialRX');
for (var i = 0; i < serialRXtypes.length; i++) {
serialRX_e.append('<option value="' + i + '">' + serialRXtypes[i] + '</option>');