Change log output formatting

This commit is contained in:
2024-09-01 15:22:37 +02:00
parent 5688b00b69
commit 3506ad48e5

View File

@@ -61,7 +61,8 @@ void USART_Print(bool state, const char *pre, const char *fmt, va_list ap)
int len;
char buf[256], *ptr;
len = sprintf(buf, "[CORE][%c] %s", state ? 'E' : 'D', pre);
UNUSED(state);
len = sprintf(buf, "[CORE] %s", pre); //, state ? 'E' : 'D', pre);
vsnprintf(buf + len, sizeof(buf) - len, fmt, ap);
ptr = buf;