Merge pull request #391 from raphaelcoeffic/tramp_serial
added serial function for IRC Tramp10.3.x-maintenance
commit
bb1d400d2b
|
@ -819,6 +819,9 @@
|
|||
"portsFunction_TBS_SMARTAUDIO": {
|
||||
"message": "TBS SmartAudio"
|
||||
},
|
||||
"portsFunction_IRC_TRAMP": {
|
||||
"message": "IRC Tramp"
|
||||
},
|
||||
"pidTuningUpgradeFirmwareToChangePidController": {
|
||||
"message": "<span style=\"color: red\">Changing PID controller disabled - you can change it via the CLI.</span> You have firmware with API version <span style=\"color: red\">$1</span>, but this functionality requires requires <span style=\"color: #ffbb00\">$2</span>."
|
||||
},
|
||||
|
|
|
@ -21,7 +21,8 @@ function MspHelper () {
|
|||
'BLACKBOX': 7,
|
||||
'TELEMETRY_MAVLINK': 9,
|
||||
'ESC_SENSOR': 10,
|
||||
'TBS_SMARTAUDIO': 11
|
||||
'TBS_SMARTAUDIO': 11,
|
||||
'IRC_TRAMP': 13
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ TABS.ports.initialize = function (callback, scrollPosition) {
|
|||
if (semver.gte(CONFIG.flightControllerVersion, "3.1.0")) {
|
||||
functionRules.push({ name: 'ESC_SENSOR', groups: ['sensors'], maxPorts: 1 });
|
||||
functionRules.push({ name: 'TBS_SMARTAUDIO', groups: ['peripherals'], maxPorts: 1 });
|
||||
functionRules.push({ name: 'IRC_TRAMP', groups: ['peripherals'], maxPorts: 1 });
|
||||
}
|
||||
|
||||
for (var i = 0; i < functionRules.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue