mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 17:25:16 +03:00
Merge pull request #391 from raphaelcoeffic/tramp_serial
added serial function for IRC Tramp
This commit is contained in:
commit
bb1d400d2b
3 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue