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:
wuyangyong 2012-02-28 09:39:55 +00:00
parent d6d7c4a851
commit b2d0a9c146
1 changed files with 1 additions and 1 deletions

View File

@ -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