Merge pull request #351 from mikeller/add_crsf_serial_rx
Added support for CRSF serial Rx / telemetry.10.3.x-maintenance
commit
c165fca463
|
@ -373,10 +373,14 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
||||||
serialRXtypes.push('IBUS');
|
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');
|
serialRXtypes.push('JETIEXBUS');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (semver.gte(CONFIG.flightControllerVersion, "3.1.0")) {
|
||||||
|
serialRXtypes.push('CRSF');
|
||||||
|
}
|
||||||
|
|
||||||
var serialRX_e = $('select.serialRX');
|
var serialRX_e = $('select.serialRX');
|
||||||
for (var i = 0; i < serialRXtypes.length; i++) {
|
for (var i = 0; i < serialRXtypes.length; i++) {
|
||||||
serialRX_e.append('<option value="' + i + '">' + serialRXtypes[i] + '</option>');
|
serialRX_e.append('<option value="' + i + '">' + serialRXtypes[i] + '</option>');
|
||||||
|
|
Loading…
Reference in New Issue