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

Merge pull request #888 from iNavFlight/de_dji_hd

Add support for DJI FPV goggles and SBUS Fast protocol
This commit is contained in:
Konstantin Sharlaimov 2020-01-06 10:56:23 +01:00 committed by GitHub
commit ea5d358298
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 1 deletions

View file

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

View file

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

View file

@ -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

View file

@ -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);
}