Skip to content

Commit 4f9a90f

Browse files
atanisoftme-no-dev
authored andcommitted
fix #2232 and #2033 (#2233)
1 parent 310e78e commit 4f9a90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/esp32-hal-uart.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ int log_printf(const char *format, ...)
456456
ets_printf("%s", temp);
457457
#endif
458458
va_end(arg);
459-
if(len > 64){
459+
if(len > sizeof(loc_buf)){
460460
free(temp);
461461
}
462462
return len;

0 commit comments

Comments
 (0)