mirror of
https://github.com/esphome/esphome.git
synced 2025-09-17 18:52:19 +01:00
cleanup
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user