mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Fix MSP_DISPLAYPORT_UART assignment (#13000)
This commit is contained in:
parent
438e96c1f0
commit
5d29a0be06
2 changed files with 1 additions and 2 deletions
|
@ -203,7 +203,7 @@ void pgResetFn_serialConfig(serialConfig_t *serialConfig)
|
||||||
#ifdef MSP_DISPLAYPORT_UART
|
#ifdef MSP_DISPLAYPORT_UART
|
||||||
serialPortConfig_t *displayPortUartConfig = serialFindPortConfigurationMutable(MSP_DISPLAYPORT_UART);
|
serialPortConfig_t *displayPortUartConfig = serialFindPortConfigurationMutable(MSP_DISPLAYPORT_UART);
|
||||||
if (displayPortUartConfig) {
|
if (displayPortUartConfig) {
|
||||||
displayPortUartConfig->functionMask = FUNCTION_DISPLAYPORT;
|
displayPortUartConfig->functionMask = FUNCTION_VTX_MSP | FUNCTION_MSP;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,6 @@ typedef enum {
|
||||||
FUNCTION_LIDAR_TF = (1 << 15), // 32768
|
FUNCTION_LIDAR_TF = (1 << 15), // 32768
|
||||||
FUNCTION_FRSKY_OSD = (1 << 16), // 65536
|
FUNCTION_FRSKY_OSD = (1 << 16), // 65536
|
||||||
FUNCTION_VTX_MSP = (1 << 17), // 131072
|
FUNCTION_VTX_MSP = (1 << 17), // 131072
|
||||||
FUNCTION_MSP_DISPLAYPORT = (1 << 18) | FUNCTION_MSP, // 262144 + 1
|
|
||||||
} serialPortFunction_e;
|
} serialPortFunction_e;
|
||||||
|
|
||||||
#define TELEMETRY_SHAREABLE_PORT_FUNCTIONS_MASK (FUNCTION_TELEMETRY_FRSKY_HUB | FUNCTION_TELEMETRY_LTM | FUNCTION_TELEMETRY_MAVLINK)
|
#define TELEMETRY_SHAREABLE_PORT_FUNCTIONS_MASK (FUNCTION_TELEMETRY_FRSKY_HUB | FUNCTION_TELEMETRY_LTM | FUNCTION_TELEMETRY_MAVLINK)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue