mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-19 05:51:24 +08:00
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 */
|
/* Enable USART2 GPIO clocks */
|
||||||
RCC_AHB1PeriphClockCmd(UART1_GPIO_RCC, ENABLE);
|
RCC_AHB1PeriphClockCmd(UART1_GPIO_RCC, ENABLE);
|
||||||
/* Enable USART2 clock */
|
/* Enable USART2 clock */
|
||||||
RCC_APB1PeriphClockCmd(RCC_APBPeriph_UART1, ENABLE);
|
RCC_APB2PeriphClockCmd(RCC_APBPeriph_UART1, ENABLE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RT_USING_UART2
|
#ifdef RT_USING_UART2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user