提交 b2d0a9c1 编写于 作者: wuyangyong's avatar wuyangyong

update stm32f4 usart driver.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1978 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 d6d7c4a8
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册