mirror of
https://github.com/esphome/esphome.git
synced 2025-08-07 02:47:47 +00:00
cleanup
This commit is contained in:
parent
18844e15dc
commit
c420bf5f4f
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user