BF/CF - Adding TARGET_CUSTOM SerialRx protocol option. (#484)

Allows configurator to choose to use custom target-defined serialRx
protocols. Requires target support
10.3.x-maintenance
Sean Kelly 2017-04-23 07:53:37 -07:00 committed by Michael Keller
parent fb3557897e
commit 6119acf617
1 changed files with 4 additions and 0 deletions

View File

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