From b921bc848615222b2bc44202556d2b4798c3226d Mon Sep 17 00:00:00 2001 From: "Pawel Spychalski (DzikuVx)" Date: Sat, 1 Oct 2022 11:54:51 +0200 Subject: Rename HDZero to MSP Displayport --- _locales/en/messages.json | 4 ++-- js/msp/MSPHelper.js | 2 +- tabs/ports.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 45cec7a6..bb77004f 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1166,8 +1166,8 @@ "portsFunction_DJI_FPV": { "message": "DJI FPV VTX" }, - "portsFunction_HDZERO_VTX": { - "message": "HDZero VTX" + "portsFunction_MSP_DISPLAYPORT": { + "message": "MSP Displayport" }, "portsFunction_IMU2": { "message": "Secondary IMU" diff --git a/js/msp/MSPHelper.js b/js/msp/MSPHelper.js index ef448dda..950f1132 100644 --- a/js/msp/MSPHelper.js +++ b/js/msp/MSPHelper.js @@ -44,7 +44,7 @@ var mspHelper = (function (gui) { 'DJI_FPV': 21, 'SMARTPORT_MASTER': 23, 'IMU2': 24, - 'HDZERO_VTX': 25, + 'MSP_DISPLAYPORT': 25, }; // Required for MSP_DEBUGMSG because console.log() doesn't allow omitting diff --git a/tabs/ports.js b/tabs/ports.js index af923652..f6320ed9 100644 --- a/tabs/ports.js +++ b/tabs/ports.js @@ -94,7 +94,7 @@ TABS.ports.initialize = function (callback) { ); functionRules.push({ - name: 'HDZERO_VTX', + name: 'MSP_DISPLAYPORT', groups: ['peripherals'], maxPorts: 1 } ); -- cgit v1.2.3