1
0
Fork 0
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 (#3065)

See also https://github.com/betaflight/betaflight/pull/11950

These two PR's remove the explicit MSP Displayport enablement, and
instead have Displayport on MSP enabled at the same time at MSP VTX
support if MSP is also enabled on the port. No traffic will flow on the
serial port unless `osd_displayport_device = MSP`.
This commit is contained in:
J Blackman 2022-11-04 17:04:44 +11:00 committed by GitHub
commit 4b3f1dbb6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 6 deletions

View file

@ -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"

View file

@ -34,7 +34,6 @@ function MspHelper() {
'LIDAR_TF': 15,
'FRSKY_OSD': 16,
'VTX_MSP': 17,
'MSP_DISPLAYPORT': 18,
};
self.REBOOT_TYPES = {

View file

@ -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) {