Skip to content

Commit 4b47402

Browse files
committed
Use static buffer for log_printf
1 parent befebb7 commit 4b47402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-uart.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ int log_printf(const char *format, ...)
377377
if(s_uart_debug_nr < 0){
378378
return 0;
379379
}
380-
char loc_buf[64];
380+
static char loc_buf[64];
381381
char * temp = loc_buf;
382382
int len;
383383
va_list arg;

0 commit comments

Comments
 (0)