[DJI] Add support for DJI FPV goggles and SBUS Fast protocol

pull/888/head
Konstantin (DigitalEntity) Sharlaimov 5 years ago
parent 57ca4be2aa
commit e6b5719cc4

@ -927,6 +927,9 @@
"portsFunction_FRSKY_OSD": {
"message": "FrSky OSD"
},
"portsFunction_DJI_FPV": {
"message": "DJI FPV VTX"
},
"pidTuningName": {
"message": "Name"
},

@ -769,7 +769,8 @@ var FC = {
'IBUS',
'JETI EXBUS',
'TBS Crossfire',
'FPort'
'FPort',
'SBUS Fast',
];
return data;

@ -52,6 +52,7 @@ var mspHelper = (function (gui) {
'ESC': 18,
'GSM_SMS': 19,
'FRSKY_OSD': 20,
'DJI_FPV': 21,
};
// Required for MSP_DEBUGMSG because console.log() doesn't allow omitting

@ -93,6 +93,15 @@ TABS.ports.initialize = function (callback) {
);
}
if (semver.gte(CONFIG.flightControllerVersion, "2.4.0")) {
functionRules.push({
name: 'DJI_FPV',
groups: ['peripherals'],
maxPorts: 1 }
);
}
for (var i = 0; i < functionRules.length; i++) {
functionRules[i].displayName = chrome.i18n.getMessage('portsFunction_' + functionRules[i].name);
}

Loading…
Cancel
Save