added serial function for IRC Tramp
parent
9cb7de962c
commit
8129640153
|
@ -819,6 +819,9 @@
|
||||||
"portsFunction_TBS_SMARTAUDIO": {
|
"portsFunction_TBS_SMARTAUDIO": {
|
||||||
"message": "TBS SmartAudio"
|
"message": "TBS SmartAudio"
|
||||||
},
|
},
|
||||||
|
"portsFunction_IRC_TRAMP": {
|
||||||
|
"message": "IRC Tramp"
|
||||||
|
},
|
||||||
"pidTuningUpgradeFirmwareToChangePidController": {
|
"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>."
|
"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,
|
'BLACKBOX': 7,
|
||||||
'TELEMETRY_MAVLINK': 9,
|
'TELEMETRY_MAVLINK': 9,
|
||||||
'ESC_SENSOR': 10,
|
'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")) {
|
if (semver.gte(CONFIG.flightControllerVersion, "3.1.0")) {
|
||||||
functionRules.push({ name: 'ESC_SENSOR', groups: ['sensors'], maxPorts: 1 });
|
functionRules.push({ name: 'ESC_SENSOR', groups: ['sensors'], maxPorts: 1 });
|
||||||
functionRules.push({ name: 'TBS_SMARTAUDIO', groups: ['peripherals'], 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++) {
|
for (var i = 0; i < functionRules.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue