Skip to content

Commit

Permalink
Fix MSP_DISPLAYPORT_UART assignment (#13000)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveCEvans committed Aug 2, 2023
1 parent 438e96c commit 5d29a0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/io/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion src/main/io/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5d29a0b

Please sign in to comment.