Skip to content

Commit 92b6381

Browse files
committed
Implemented Uart::flush()
1 parent 8c8d643 commit 92b6381

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/nRF5/Uart.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ void Uart::end()
186186

187187
void Uart::flush()
188188
{
189+
rxBuffer.clear();
189190
}
190191

191192
void Uart::IrqHandler()

0 commit comments

Comments
 (0)