This commit is contained in:
J. Nick Koston 2025-06-29 18:55:46 -05:00
parent 18844e15dc
commit c420bf5f4f
No known key found for this signature in database

View File

@ -136,7 +136,6 @@ void OTARequestHandler::handleUpload(AsyncWebServerRequest *request, const Strin
// Store the backend pointer // Store the backend pointer
this->ota_backend_ = backend.release(); this->ota_backend_ = backend.release();
this->ota_started_ = true; this->ota_started_ = true;
this->ota_success_ = false; // Will be set to true only on successful completion
} else if (!this->ota_started_ || !this->ota_backend_) { } else if (!this->ota_started_ || !this->ota_backend_) {
// Begin failed or was aborted // Begin failed or was aborted
return; return;