We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5f3fc6 commit 007a93eCopy full SHA for 007a93e
cores/esp32/Print.cpp
@@ -52,7 +52,7 @@ size_t Print::printf(const char *format, ...)
52
va_list copy;
53
va_start(arg, format);
54
va_copy(copy, arg);
55
- size_t len = vsnprintf(NULL, 0, format, arg);
+ size_t len = vsnprintf(NULL, 0, format, copy);
56
va_end(copy);
57
if(len >= sizeof(loc_buf)){
58
temp = new char[len+1];
0 commit comments