update stm32f4 usart driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1978 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
d6d7c4a851
commit
b2d0a9c146
|
@ -109,7 +109,7 @@ static void RCC_Configuration(void)
|
|||
/* Enable USART2 GPIO clocks */
|
||||
RCC_AHB1PeriphClockCmd(UART1_GPIO_RCC, ENABLE);
|
||||
/* Enable USART2 clock */
|
||||
RCC_APB1PeriphClockCmd(RCC_APBPeriph_UART1, ENABLE);
|
||||
RCC_APB2PeriphClockCmd(RCC_APBPeriph_UART1, ENABLE);
|
||||
#endif
|
||||
|
||||
#ifdef RT_USING_UART2
|
||||
|
|
Loading…
Reference in New Issue