Skip to content

Commit bb1d400

Browse files
authored
Merge pull request #391 from raphaelcoeffic/tramp_serial
added serial function for IRC Tramp
2 parents 76fb90b + 8129640 commit bb1d400

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

_locales/en/messages.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,9 @@
819819
"portsFunction_TBS_SMARTAUDIO": {
820820
"message": "TBS SmartAudio"
821821
},
822+
"portsFunction_IRC_TRAMP": {
823+
"message": "IRC Tramp"
824+
},
822825
"pidTuningUpgradeFirmwareToChangePidController": {
823826
"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>."
824827
},

js/msp/MSPHelper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ function MspHelper () {
2121
'BLACKBOX': 7,
2222
'TELEMETRY_MAVLINK': 9,
2323
'ESC_SENSOR': 10,
24-
'TBS_SMARTAUDIO': 11
24+
'TBS_SMARTAUDIO': 11,
25+
'IRC_TRAMP': 13
2526
};
2627
}
2728

tabs/ports.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ TABS.ports.initialize = function (callback, scrollPosition) {
3333
if (semver.gte(CONFIG.flightControllerVersion, "3.1.0")) {
3434
functionRules.push({ name: 'ESC_SENSOR', groups: ['sensors'], maxPorts: 1 });
3535
functionRules.push({ name: 'TBS_SMARTAUDIO', groups: ['peripherals'], maxPorts: 1 });
36+
functionRules.push({ name: 'IRC_TRAMP', groups: ['peripherals'], maxPorts: 1 });
3637
}
3738

3839
for (var i = 0; i < functionRules.length; i++) {

0 commit comments

Comments
 (0)