diff --git a/bsp/lpc176x/drivers/uart.c b/bsp/lpc176x/drivers/uart.c index 94cf9f1f7..3d1a3e6dc 100644 --- a/bsp/lpc176x/drivers/uart.c +++ b/bsp/lpc176x/drivers/uart.c @@ -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;