diff --git a/src/system/kernel/debug/debug.c b/src/system/kernel/debug/debug.c index f8c1494f3a..1ba6dc7eed 100644 --- a/src/system/kernel/debug/debug.c +++ b/src/system/kernel/debug/debug.c @@ -890,7 +890,7 @@ dprintf(const char *format, ...) length = OUTPUT_BUFFER_SIZE - 1; if (strncmp(sOutputBuffer, sLastOutputBuffer, length) == 0 - && length > 0 && sOutputBuffer[length - 1] == '\n') { + && length > 1 && sOutputBuffer[length - 1] == '\n') { sMessageRepeatCount++; sMessageRepeatTime = system_time(); } else {