From 7c5a36ce38e7e2a0a36d152887cdd0ab1384d640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Wed, 21 Sep 2022 15:46:56 +0200 Subject: [PATCH] Update SerialConsole.cpp --- src/SerialConsole.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SerialConsole.cpp b/src/SerialConsole.cpp index 6a27da4c..fc8613d7 100644 --- a/src/SerialConsole.cpp +++ b/src/SerialConsole.cpp @@ -20,7 +20,9 @@ void consolePrintf(const char *format, ...) va_start(arg, format); console->vprintf(format, arg); va_end(arg); +#ifdef ARCH_ESP32 console->flush(); +#endif } SerialConsole::SerialConsole() : StreamAPI(&Port), RedirectablePrint(&Port)