提交 4b0839bd 编写于 作者: Gevin_Cod's avatar Gevin_Cod

update uart isr ore-flag handle error bug.

上级 7b9de446
......@@ -270,7 +270,7 @@ static void uart_isr(struct rt_serial_device *serial) {
}
if (USART_GetFlagStatus(uart->uart_device, USART_FLAG_ORE) == SET)
{
stm32_getc(serial);
USART_ReceiveData(uart->uart_device);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册