diff --git a/cores/nRF5/Uart.cpp b/cores/nRF5/Uart.cpp index c079e17f..f478f21a 100644 --- a/cores/nRF5/Uart.cpp +++ b/cores/nRF5/Uart.cpp @@ -186,6 +186,7 @@ void Uart::end() void Uart::flush() { + rxBuffer.clear(); } void Uart::IrqHandler()