From e0c28c30d5fa1c8292cc1c170435d170053fd3ae Mon Sep 17 00:00:00 2001 From: Read Error Date: Fri, 1 Jul 2016 06:34:41 -0400 Subject: [PATCH] USART5 doesn't exist on F3 or F4, should be UART5. --- src/main/io/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/io/serial.c b/src/main/io/serial.c index b2effbb4b..6fbdad7c0 100644 --- a/src/main/io/serial.c +++ b/src/main/io/serial.c @@ -316,7 +316,7 @@ serialPort_t *openSerialPort( #endif #ifdef USE_USART5 case SERIAL_PORT_USART5: - serialPort = uartOpen(USART5, callback, baudRate, mode, options); + serialPort = uartOpen(UART5, callback, baudRate, mode, options); break; #endif #ifdef USE_USART6