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‎

Lines changed: 1 addition & 1 deletion
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
return0;
379379
}
380-
charloc_buf[64];
380+
staticcharloc_buf[64];
381381
char*temp=loc_buf;
382382
intlen;
383383
va_listarg;

0 commit comments

Comments
(0)