1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Fix MSP_DISPLAYPORT_UART assignment (#13000)

This commit is contained in:
Steve Evans 2023-08-02 15:16:58 +01:00 committed by GitHub
parent 438e96c1f0
commit 5d29a0be06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -203,7 +203,7 @@ void pgResetFn_serialConfig(serialConfig_t *serialConfig)
#ifdef MSP_DISPLAYPORT_UART
serialPortConfig_t *displayPortUartConfig = serialFindPortConfigurationMutable(MSP_DISPLAYPORT_UART);
if (displayPortUartConfig) {
displayPortUartConfig->functionMask = FUNCTION_DISPLAYPORT;
displayPortUartConfig->functionMask = FUNCTION_VTX_MSP | FUNCTION_MSP;
}
#endif

View file

@ -51,7 +51,6 @@ typedef enum {
FUNCTION_LIDAR_TF = (1 << 15), // 32768
FUNCTION_FRSKY_OSD = (1 << 16), // 65536
FUNCTION_VTX_MSP = (1 << 17), // 131072
FUNCTION_MSP_DISPLAYPORT = (1 << 18) | FUNCTION_MSP, // 262144 + 1
} serialPortFunction_e;
#define TELEMETRY_SHAREABLE_PORT_FUNCTIONS_MASK (FUNCTION_TELEMETRY_FRSKY_HUB | FUNCTION_TELEMETRY_LTM | FUNCTION_TELEMETRY_MAVLINK)