mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 05:50:22 +08:00
Update uart.c
iir = LPC_Uart->LSR; //oe pe fe oe read for clear interrupt
This commit is contained in:
parent
78193f3c40
commit
8a73dc1be6
@ -89,6 +89,9 @@ void UART0_IRQHandler(void)
|
||||
|
||||
uart->parent.rx_indicate(&uart->parent, length);
|
||||
}
|
||||
}else if(iir == IIR_RLS)
|
||||
{
|
||||
iir = LPC_Uart->LSR; //oe pe fe oe read for clear interrupt
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user