diff --git a/lib/hal/debug.c b/lib/hal/debug.c index 46e962bc9..56ed9e4fb 100644 --- a/lib/hal/debug.c +++ b/lib/hal/debug.c @@ -200,6 +200,10 @@ void debugPrint(const char *format, ...) nextRow += FONT_HEIGHT+1; nextCol = MARGIN; } + else if (*s == '\r') + { + nextCol = MARGIN; + } else { drawChar( *s, nextCol, nextRow, fgColour, bgColour );