USART5 doesn't exist on F3 or F4, should be UART5.
This commit is contained in:
parent
dc4791f024
commit
e0c28c30d5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue