diff options
author | Carsten W <lichtl@users.noreply.github.com> | 2019-04-29 18:24:19 +0300 |
---|---|---|
committer | Paweł Spychalski <pspychalski@gmail.com> | 2019-04-29 18:24:19 +0300 |
commit | a9f9487d4f9b7d502bd44a04b1a05775669ef7ac (patch) | |
tree | 5ad763244d6e5a0a09c2b6d0853c084b3fe82a1b | |
parent | 3dcffdd2928903f63c9f856968c5055bd4e8dfa3 (diff) |
Add configurator support for FFPV24G into configurator (#744)
* add configurator support for FFPV24G
* change naming to match FC code
-rwxr-xr-x | _locales/en/messages.json | 3 | ||||
-rw-r--r-- | js/msp/MSPHelper.js | 3 | ||||
-rw-r--r-- | tabs/ports.js | 6 |
3 files changed, 10 insertions, 2 deletions
diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 1127420e..62a6f033 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -900,6 +900,9 @@ "portsFunction_IRC_TRAMP": { "message": "IRC Tramp" }, + "portsFunction_VTX_FFPV": { + "message": "FuriousFPV Vtx" + }, "pidTuningName": { "message": "Name" }, diff --git a/js/msp/MSPHelper.js b/js/msp/MSPHelper.js index 4384e657..e1dc856d 100644 --- a/js/msp/MSPHelper.js +++ b/js/msp/MSPHelper.js @@ -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 diff --git a/tabs/ports.js b/tabs/ports.js index 355e9da4..229e3bce 100644 --- a/tabs/ports.js +++ b/tabs/ports.js @@ -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); } |