mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 00:35:20 +03:00
Add configurator support for FFPV24G into configurator (#744)
* add configurator support for FFPV24G * change naming to match FC code
This commit is contained in:
parent
3dcffdd292
commit
a9f9487d4f
3 changed files with 10 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue