Update SerialConsole.cpp

This commit is contained in:
Thomas Göttgens 2022-09-21 15:46:56 +02:00 committed by GitHub
parent fc729b0cbb
commit 7c5a36ce38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)