Max Prokhorov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
code/espurna/ws.ino
|
|
@ -311,9 +311,9 @@ void _wsUpdate(JsonObject& root) { |
|
|
|
} |
|
|
|
|
|
|
|
void _wsDoUpdate(bool reset = false) { |
|
|
|
static unsigned long last = 0; |
|
|
|
static unsigned long last = millis(); |
|
|
|
if (reset) { |
|
|
|
last = 0; |
|
|
|
last = millis() + WS_UPDATE_INTERVAL; |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|