mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 04:15:28 +03:00
Merge pull request #1913 from dronecontrol-ru/sbus_output_support
SBUS Output in ports
This commit is contained in:
commit
24805f27aa
3 changed files with 10 additions and 0 deletions
|
@ -1302,6 +1302,9 @@
|
|||
"portsFunction_MSP_DISPLAYPORT": {
|
||||
"message": "MSP DisplayPort"
|
||||
},
|
||||
"portsFunction_SBUS_OUTPUT": {
|
||||
"message": "SBus Output"
|
||||
},
|
||||
"pidTuning_ShowAllPIDs": {
|
||||
"message": "Show all PIDs"
|
||||
},
|
||||
|
|
|
@ -42,6 +42,7 @@ var mspHelper = (function (gui) {
|
|||
'GSM_SMS': 19,
|
||||
'FRSKY_OSD': 20,
|
||||
'DJI_FPV': 21,
|
||||
'SBUS_OUTPUT': 22,
|
||||
'SMARTPORT_MASTER': 23,
|
||||
'MSP_DISPLAYPORT': 25,
|
||||
};
|
||||
|
|
|
@ -114,6 +114,12 @@ TABS.ports.initialize = function (callback) {
|
|||
maxPorts: 1,
|
||||
defaultBaud: 57600 }
|
||||
);
|
||||
portFunctionRules.push({
|
||||
name: 'SBUS_OUTPUT',
|
||||
groups: ['peripherals'],
|
||||
maxPorts: 1,
|
||||
defaultBaud: 115200 }
|
||||
);
|
||||
|
||||
for (var i = 0; i < portFunctionRules.length; i++) {
|
||||
portFunctionRules[i].displayName = chrome.i18n.getMessage('portsFunction_' + portFunctionRules[i].name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue