Skip to content

Commit 8e80282

Browse files
authored
Merge pull request #158 from Ureloc/master
Bug Fix: UART RX IRQ
2 parents 5d9ca8e + a111322 commit 8e80282

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cores/nRF5/Uart.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,8 @@ void Uart::IrqHandler()
169169
{
170170
if (nrfUart->EVENTS_RXDRDY)
171171
{
172-
rxBuffer.store_char(nrfUart->RXD);
173-
174172
nrfUart->EVENTS_RXDRDY = 0x0UL;
173+
rxBuffer.store_char(nrfUart->RXD);
175174
}
176175
}
177176

0 commit comments

Comments
 (0)