Use static buffer for log_printf
This commit is contained in:
parent
befebb7242
commit
4b47402afd
@ -377,7 +377,7 @@ int log_printf(const char *format, ...)
|
||||
if(s_uart_debug_nr < 0){
|
||||
return 0;
|
||||
}
|
||||
char loc_buf[64];
|
||||
static char loc_buf[64];
|
||||
char * temp = loc_buf;
|
||||
int len;
|
||||
va_list arg;
|
||||
|
Loading…
Reference in New Issue
Block a user