Change 'RunCam Split' to 'RunCam Device'
parent
7bb293e447
commit
1b22a924a3
|
@ -938,8 +938,8 @@
|
|||
"portsFunction_IRC_TRAMP": {
|
||||
"message": "IRC Tramp"
|
||||
},
|
||||
"portsFunction_RUNCAM_SPLIT_CONTROL": {
|
||||
"message": "RunCam Split"
|
||||
"portsFunction_RUNCAM_DEVICE_CONTROL": {
|
||||
"message": "RunCam Device"
|
||||
},
|
||||
"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>."
|
||||
|
|
|
@ -24,7 +24,7 @@ function MspHelper () {
|
|||
'TBS_SMARTAUDIO': 11,
|
||||
'TELEMETRY_IBUS': 12,
|
||||
'IRC_TRAMP': 13,
|
||||
'RUNCAM_SPLIT_CONTROL': 14 // support communitate with RunCam Split
|
||||
'RUNCAM_DEVICE_CONTROL': 14 // support communitate with RunCam Device
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ function isPeripheralSelected(peripheralName) {
|
|||
|
||||
// Adjust the real name for a modeId. Useful if it belongs to a peripheral
|
||||
function adjustBoxNameIfPeripheralWithModeID(modeId, defaultName) {
|
||||
if (isPeripheralSelected("RUNCAM_SPLIT_CONTROL")) {
|
||||
if (isPeripheralSelected("RUNCAM_DEVICE_CONTROL")) {
|
||||
switch (modeId) {
|
||||
case 32: // BOXCAMERA1
|
||||
return chrome.i18n.getMessage('modeCameraWifi');
|
||||
|
|
|
@ -44,7 +44,7 @@ TABS.ports.initialize = function (callback, scrollPosition) {
|
|||
}
|
||||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
|
||||
functionRules.push({ name: 'RUNCAM_SPLIT_CONTROL', groups: ['peripherals'], maxPorts: 1 });
|
||||
functionRules.push({ name: 'RUNCAM_DEVICE_CONTROL', groups: ['peripherals'], maxPorts: 1 });
|
||||
}
|
||||
|
||||
for (var i = 0; i < functionRules.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue