diff --git a/src/Arduino_ESP32_OTA.cpp b/src/Arduino_ESP32_OTA.cpp index 39dd327..255cd49 100644 --- a/src/Arduino_ESP32_OTA.cpp +++ b/src/Arduino_ESP32_OTA.cpp @@ -369,6 +369,7 @@ Arduino_ESP32_OTA::Context::Context( , calculatedCrc32(0xFFFFFFFF) , headerCopiedBytes(0) , downloadedSize(0) + , writtenBytes(0) , error(Error::None) , decoder(putc) { strcpy(this->url, url);