Merge pull request #1983 from whj4674672/master

Fix usart3 initialization bug
This commit is contained in:
Bernard Xiong 2018-11-15 20:46:04 +08:00 committed by GitHub
commit 63a6f6c4d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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);