diff --git a/src/ESP32React/UploadFileService.cpp b/src/ESP32React/UploadFileService.cpp index 801a67ffe..67d950fa5 100644 --- a/src/ESP32React/UploadFileService.cpp +++ b/src/ESP32React/UploadFileService.cpp @@ -32,10 +32,10 @@ void UploadFileService::handleUpload(AsyncWebServerRequest * request, const Stri // check details of the file, to see if its a valid bin or json file const std::size_t filesize = request->contentLength(); - _is_firmware = false; - _is_filesystem = false; - _is_recovery = false; - _response_sent = false; + _is_firmware = false; + _is_filesystem = false; + _is_recovery = false; + _response_sent = false; switch (OtaUpdater::classify(filename, filesize, emsesp::System::MIN_FIRMWARE_SIZE)) { case OtaUpdater::FileType::FILESYSTEM: diff --git a/src/core/system.h b/src/core/system.h index 58e5787a0..9ed145795 100644 --- a/src/core/system.h +++ b/src/core/system.h @@ -83,7 +83,7 @@ class System { static void check_crash_loop(); // call at boot once NVS is open, may restart into the factory partition - void recovery_installed(); // called on the AsyncTCP task after the recovery firmware was written + void recovery_installed(); // called on the AsyncTCP task after the recovery firmware was written std::string recovery_version() const; // empty if there's no recovery firmware // commands