mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-18 20:48:41 +08:00
update uart isr ore-flag handle error bug.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user