copied in Michael's change

This commit is contained in:
Proddy
2023-02-23 19:24:53 +01:00
parent b5667c17d3
commit a59fc3f3e7

View File

@@ -69,7 +69,7 @@ void UploadFileService::handleUpload(AsyncWebServerRequest * request, const Stri
}
#endif
// it's firmware - initialize the ArduinoOTA updater
if (Update.begin(fsize)) {
if (Update.begin()) {
if (strlen(md5) == 32) {
Update.setMD5(md5);
md5[0] = '\0';