Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4f9a90f

Browse files
atanisoftme-no-dev
authored andcommittedDec 23, 2018
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
 

‎cores/esp32/esp32-hal-uart.c

Lines changed: 1 addition & 1 deletion
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)){
Code has comments. Press enter to view.
460460
free(temp);
461461
}
462462
return len;

0 commit comments

Comments
 (0)
Please sign in to comment.