Merge pull request #1983 from whj4674672/master
Fix usart3 initialization bug
This commit is contained in:
commit
63a6f6c4d2
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue