Update uart.c
This commit is contained in:
parent
bb5f57f91c
commit
59653699b2
@ -37,7 +37,7 @@
|
||||
#define LSR_RXFE 0x80
|
||||
|
||||
/**
|
||||
* @addtogroup LPC11xx
|
||||
* @addtogroup LPC176x
|
||||
*/
|
||||
|
||||
/*@{*/
|
||||
@ -89,9 +89,10 @@ void UART0_IRQHandler(void)
|
||||
|
||||
uart->parent.rx_indicate(&uart->parent, length);
|
||||
}
|
||||
}else if(iir == IIR_RLS)
|
||||
}
|
||||
else if (iir == IIR_RLS)
|
||||
{
|
||||
iir = LPC_Uart->LSR; //oe pe fe oe read for clear interrupt
|
||||
iir = LPC_UART->LSR; //oe pe fe oe read for clear interrupt
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user