Add configurator support for FFPV24G into configurator (#744)

* add configurator support for FFPV24G

* change naming to match FC code
pull/758/head
Carsten W 5 years ago committed by Paweł Spychalski
parent 3dcffdd292
commit a9f9487d4f

@ -900,6 +900,9 @@
"portsFunction_IRC_TRAMP": {
"message": "IRC Tramp"
},
"portsFunction_VTX_FFPV": {
"message": "FuriousFPV Vtx"
},
"pidTuningName": {
"message": "Name"
},

@ -45,7 +45,8 @@ var mspHelper = (function (gui) {
'RUNCAM_DEVICE_CONTROL': 10,
'TBS_SMARTAUDIO': 11,
'IRC_TRAMP': 12,
'RANGEFINDER': 16
'RANGEFINDER': 16,
'VTX_FFPV': 17,
};
// Required for MSP_DEBUGMSG because console.log() doesn't allow omitting

@ -59,7 +59,11 @@ TABS.ports.initialize = function (callback) {
groups: ['peripherals'],
maxPorts: 1 }
);
functionRules.push({
name: 'VTX_FFPV',
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