diff --git a/cores/esp32/Print.cpp b/cores/esp32/Print.cpp index e5d388ec588..53231e60909 100644 --- a/cores/esp32/Print.cpp +++ b/cores/esp32/Print.cpp @@ -57,7 +57,7 @@ size_t Print::printf(const char *format, ...) if(len < 0) { va_end(arg); return 0; - }; + } if(len >= (int)sizeof(loc_buf)){ // comparation of same sign type for the compiler temp = (char*) malloc(len+1); if(temp == NULL) {