mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 16:55:24 +03:00
Change 'VTX (MSP)' to 'VTX (MSP + Displayport)' and lose 'OSD (MSP Displayport)' option
This commit is contained in:
parent
45cd8bf175
commit
9975846a46
3 changed files with 1 additions and 6 deletions
|
@ -1628,10 +1628,7 @@
|
|||
"message": "OSD (FrSky Protocol)"
|
||||
},
|
||||
"portsFunction_VTX_MSP": {
|
||||
"message": "VTX (MSP)"
|
||||
},
|
||||
"portsFunction_MSP_DISPLAYPORT": {
|
||||
"message": "OSD (MSP Displayport)"
|
||||
"message": "VTX (MSP + Displayport)"
|
||||
},
|
||||
"pidTuningProfileOption": {
|
||||
"message": "Profile $1"
|
||||
|
|
|
@ -34,7 +34,6 @@ function MspHelper() {
|
|||
'LIDAR_TF': 15,
|
||||
'FRSKY_OSD': 16,
|
||||
'VTX_MSP': 17,
|
||||
'MSP_DISPLAYPORT': 18,
|
||||
};
|
||||
|
||||
self.REBOOT_TYPES = {
|
||||
|
|
|
@ -60,7 +60,6 @@ ports.initialize = function (callback) {
|
|||
|
||||
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_45)) {
|
||||
functionRules.push({ name: 'VTX_MSP', groups: ['peripherals'], sharableWith: ['msp'], maxPorts: 1 });
|
||||
functionRules.push({ name: 'MSP_DISPLAYPORT', groups: ['peripherals'], sharableWith: ['msp'], maxPorts: 1 });
|
||||
}
|
||||
|
||||
for (const rule of functionRules) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue