summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsp/stm32f107/drivers/usart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32f107/drivers/usart.c b/bsp/stm32f107/drivers/usart.c
index 87c153e975..2ce119670f 100644
--- a/bsp/stm32f107/drivers/usart.c
+++ b/bsp/stm32f107/drivers/usart.c
@@ -394,8 +394,8 @@ void rt_hw_usart_init(void)
uart = &uart3;
config.baud_rate = BAUD_RATE_115200;
- serial2.ops = &stm32_uart_ops;
- serial2.config = config;
+ serial3.ops = &stm32_uart_ops;
+ serial3.config = config;
NVIC_Configuration(&uart3);