Avoid Serial output mangling with RTOS.

This commit is contained in:
Jonathan Bennett
2023-08-31 20:40:01 -05:00
parent cf762bbd42
commit 79cfc4b725
3 changed files with 23 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ SerialConsole *console;
void consoleInit()
{
new SerialConsole(); // Must be dynamically allocated because we are now inheriting from thread
DEBUG_PORT.rpInit(); // Simply sets up semaphore
}
void consolePrintf(const char *format, ...)