diff options
| author | 陈豪 <[email protected]> | 2014-04-25 16:10:41 +0800 |
|---|---|---|
| committer | 陈豪 <[email protected]> | 2014-04-25 16:10:41 +0800 |
| commit | 5a7e80bd6b575df1de0667e53bfe4813dcfca3cb (patch) | |
| tree | ffa83398938ee4886a847ecd043a67ca2548f0fe | |
| parent | c980bdc9e9ae3eab010a4e66230f6982d335a46d (diff) | |
[bsp/stm32f40x] fix the uart3
| -rw-r--r-- | bsp/stm32f40x/drivers/usart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32f40x/drivers/usart.c b/bsp/stm32f40x/drivers/usart.c index ab03c92b12..cd221ab0a2 100644 --- a/bsp/stm32f40x/drivers/usart.c +++ b/bsp/stm32f40x/drivers/usart.c @@ -165,8 +165,8 @@ static void GPIO_Configuration(void) GPIO_Init(UART3_GPIO, &GPIO_InitStructure); /* Connect alternate function */ - GPIO_PinAFConfig(UART2_GPIO, UART3_TX_PIN_SOURCE, GPIO_AF_USART3); - GPIO_PinAFConfig(UART2_GPIO, UART3_RX_PIN_SOURCE, GPIO_AF_USART3); + GPIO_PinAFConfig(UART3_GPIO, UART3_TX_PIN_SOURCE, GPIO_AF_USART3); + GPIO_PinAFConfig(UART3_GPIO, UART3_RX_PIN_SOURCE, GPIO_AF_USART3); #endif } |
