summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorunknown <Administrator@2013-0415-1336.(none)>2014-12-30 14:18:05 +0800
committerunknown <Administrator@2013-0415-1336.(none)>2014-12-30 14:18:05 +0800
commita0b71c1c773a9b5b031fa4aad987ccae1e01b289 (patch)
tree1dc260ff5e0dcd41919a2f60641b0edf53567d23 /bsp
parent34470355a0bcb81c60ce848298a2ac197821f0cf (diff)
fix stm32f407 uart3 TX config error
Diffstat (limited to 'bsp')
-rw-r--r--bsp/stm32f40x/drivers/usart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32f40x/drivers/usart.c b/bsp/stm32f40x/drivers/usart.c
index 89d9ca3ddd..d352081d2b 100644
--- a/bsp/stm32f40x/drivers/usart.c
+++ b/bsp/stm32f40x/drivers/usart.c
@@ -187,7 +187,7 @@ static void GPIO_Configuration(void)
#ifdef RT_USING_UART3
/* Configure USART3 Rx/tx PIN */
- GPIO_InitStructure.GPIO_Pin = UART3_GPIO_RX | UART3_GPIO_RX;
+ GPIO_InitStructure.GPIO_Pin = UART3_GPIO_TX | UART3_GPIO_RX;
GPIO_Init(UART3_GPIO, &GPIO_InitStructure);
/* Connect alternate function */