diff --git a/bsp/stm32f40x/drivers/board.c b/bsp/stm32f40x/drivers/board.c index 8f2c5b4e1da7cc7eabe711a69b3b4757cfe985bb..ba46e903eab2c353eb93ef380201662527c913a1 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