USART5 doesn't exist on F3 or F4, should be UART5.

This commit is contained in:
Read Error 2016-07-01 06:34:41 -04:00
parent dc4791f024
commit e0c28c30d5
1 changed files with 1 additions and 1 deletions

View File

@ -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