fixes to restart

This commit is contained in:
proddy
2024-09-01 11:07:52 +02:00
parent ccf4362bfc
commit 689a326c89
9 changed files with 31 additions and 15 deletions

View File

@@ -1673,8 +1673,8 @@ void EMSESP::loop() {
// force a query on the EMS devices to fetch latest data at a set interval (1 min)
scheduled_fetch_values();
} else {
emsesp::EMSESP::system_.uploadFirmwareURL(); // start an upload from a URL. This is blocking.
} else if (!system_.uploadFirmwareURL()) { // start an upload from a URL. This is blocking.
system_.upload_status(false); // abort the upload
}
uuid::loop();