Browse Source

F4_HAL/uart: Fix UART10 in LL_USART_Init.

work-f1-1.10.2
David Lechner 4 years ago
committed by Damien George
parent
commit
372e9b8f64
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usart.c

+ 1
- 1
STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usart.c 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;
}


Loading…
Cancel
Save