diff --git a/bsp/stm32f40x/drivers/board.c b/bsp/stm32f40x/drivers/board.c index 8f2c5b4e1d..ba46e903ea 100644 --- a/bsp/stm32f40x/drivers/board.c +++ b/bsp/stm32f40x/drivers/board.c @@ -93,7 +93,7 @@ void rt_hw_board_init() /* Configure the SysTick */ SysTick_Configuration(); - rt_hw_usart_init(); + stm32_hw_usart_init(); stm32_hw_pin_init(); #ifdef RT_USING_CONSOLE