mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
parent
0b985c0880
commit
75928b4ac8
7 changed files with 152 additions and 73 deletions
|
|
@ -252,6 +252,7 @@ void GitRepo::toJSON(JsonResponse &json) {
|
|||
#define ERR_DOWNLOAD_CONNECTION -42
|
||||
|
||||
void GitUpdater::loop() {
|
||||
if(!net.connected()) return;
|
||||
if(this->status == GIT_STATUS_READY) {
|
||||
if(settings.checkForUpdate &&
|
||||
(millis() > net.connectTime + 60000) && // Wait a minute before checking after connection.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue