Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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>."
},
Expand Down
3 changes: 2 additions & 1 deletion js/msp/MSPHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function MspHelper () {
'BLACKBOX': 7,
'TELEMETRY_MAVLINK': 9,
'ESC_SENSOR': 10,
'TBS_SMARTAUDIO': 11
'TBS_SMARTAUDIO': 11,
'IRC_TRAMP': 13
};
}

Expand Down
1 change: 1 addition & 0 deletions tabs/ports.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should apply to API version!

}

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