Output serial console data without buffering

This commit is contained in:
Thomas Göttgens 2022-09-21 15:34:48 +02:00 committed by GitHub
parent 140250ef03
commit 0b81a25fda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ void consolePrintf(const char *format, ...)
va_start(arg, format);
console->vprintf(format, arg);
va_end(arg);
console->flush();
}
SerialConsole::SerialConsole() : StreamAPI(&Port), RedirectablePrint(&Port)