Browse Source

Send status right after boot (#1700)

rules-rpn
Max Prokhorov 5 years ago
committed by GitHub
parent
commit
8a5a0fb309
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      code/espurna/ws.ino

+ 2
- 2
code/espurna/ws.ino View File

@ -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;
}


Loading…
Cancel
Save