Closed buttim closed 1 year ago
Just tried with Arduino IDE 2.0.3 and got no such error, even when setting the compiler warnings to "All".
Updated my IDE to 2.0.3 and the error is still present. If I modify line 506 introducing a cast to int
for the variable updateSize
the error disappears. The modified line reads as follows:
Serial.println("Written only : " + String(written) + "/" + String((int)updateSize) + ". Premature end of stream?");
Forgot to mention I'm using a Windows machine. I don't know if that might be relevant or not
thanks for these precisions, I've pushed a fix and will produce a release soon
Thank you so much!
well thanks to you for pointing that out :+1:
Arduino board: TBeam
Arduino IDE version (found in Arduino -> About Arduino menu): 2.01
List the steps to reproduce the problem below (if possible attach a sketch or copy the sketch code in too): . include ESP32Fota.h . compile Compilation error: esp32FOTA.cpp:506:93: error: call of overloaded 'String(int64_t&)' is ambiguous