From 92b638100c2198186b7503d581df1e6f79c55161 Mon Sep 17 00:00:00 2001 From: Ureloc Date: Wed, 25 Oct 2017 14:35:08 +0200 Subject: [PATCH] Implemented Uart::flush() --- cores/nRF5/Uart.cpp | 1 + 1 file changed, 1 insertion(+) 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()