Change log output formatting
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user