Merge pull request #574 from winfeng/patch-1

[bsp] Update uart.c in lpc176x bsp.
This commit is contained in:
Bernard Xiong 2015-10-30 17:17:20 +08:00
commit bb5f57f91c
1 changed files with 3 additions and 0 deletions

View File

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