Merge pull request #158 from Ureloc/master

Bug Fix: UART RX IRQ
This commit is contained in:
hathach authored and GitHub committed 2019-01-10 16:56:22 +07:00
commit 8e80282815
1 file changed
+1 -2
+1 -2
View File
@@ -169,9 +169,8 @@ void Uart::IrqHandler()
{
if (nrfUart->EVENTS_RXDRDY)
{
rxBuffer.store_char(nrfUart->RXD);
nrfUart->EVENTS_RXDRDY = 0x0UL;
rxBuffer.store_char(nrfUart->RXD);
}
}