debug.c: fix indent level

This commit is contained in:
2021-11-12 10:59:34 +01:00
parent 28164beb37
commit 6832cdf32a

View File

@@ -67,7 +67,7 @@ void debug(uint32_t level, bool timestamp, uint32_t indent, const char *src,
va_list ap;
if (indent)
printf("%*s", 2*indent, "");
printf("%*s", 2*(indent-1), "");
if (timestamp) {
int64_t diff = timer_elapsed();