Use static buffer for log_printf

This commit is contained in:
me-no-dev 2017-05-15 20:53:45 +03:00
parent befebb7242
commit 4b47402afd

View File

@ -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;