F4_HAL/uart: Fix UART10 in LL_USART_Init.

This commit is contained in:
David Lechner 2020-06-30 15:22:08 -05:00 committed by Damien George
parent 10bf5116de
commit f1369de6b5

View File

@ -361,7 +361,7 @@ ErrorStatus LL_USART_Init(USART_TypeDef *USARTx, LL_USART_InitTypeDef *USART_Ini
}
#endif /* UART9 */
#if defined(UART10)
else if (USARTx == UART5)
else if (USARTx == UART10)
{
periphclk = rcc_clocks.PCLK1_Frequency;
}