1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

Add rx SerialType for DJI_HDL receiver (#1344)

Add rx SerialType for DJI_HDL receiver
This commit is contained in:
Michael Keller 2019-04-28 10:07:16 +12:00 committed by GitHub
commit bcca136826
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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