1 parent 25fd2d0 commit 39836f1Copy full SHA for 39836f1
cores/esp32/Print.cpp
@@ -63,7 +63,7 @@ size_t Print::printf(const char *format, ...)
63
len = vsnprintf(temp, len+1, format, arg);
64
write((uint8_t*)temp, len);
65
va_end(arg);
66
-if(len >64){
+if(len >= sizeof(loc_buf)){
67
delete[] temp;
68
}
69
return len;
0 commit comments