From ffb782bd924cde4ccf0ceeddef602e81b80a6105 Mon Sep 17 00:00:00 2001 From: Michel Pastor Date: Wed, 16 Sep 2020 13:34:55 +0200 Subject: [PATCH] [FRSKYPILOT] Fix UART number for OSD, should be 6, not 5 (#6130) --- src/main/target/FRSKYPILOT/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/target/FRSKYPILOT/config.c b/src/main/target/FRSKYPILOT/config.c index 2545ff0603..05ec1b5a85 100644 --- a/src/main/target/FRSKYPILOT/config.c +++ b/src/main/target/FRSKYPILOT/config.c @@ -26,7 +26,7 @@ void targetConfiguration(void) { serialConfigMutable()->portConfigs[findSerialPortIndexByIdentifier(SERIAL_PORT_USART1)].functionMask = FUNCTION_TELEMETRY_SMARTPORT_MASTER; - serialConfigMutable()->portConfigs[findSerialPortIndexByIdentifier(SERIAL_PORT_USART5)].functionMask = FUNCTION_FRSKY_OSD; + serialConfigMutable()->portConfigs[findSerialPortIndexByIdentifier(SERIAL_PORT_USART6)].functionMask = FUNCTION_FRSKY_OSD; rxConfigMutable()->serialrx_inverted = 1; }