Skip to content

Commit

Permalink
#17: call mDNS update in the man loop
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-stepanov committed Sep 9, 2019
1 parent 9b7120c commit 4096da0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion esp8266-yeelight-switch.ino
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ void loop(void) {
button_state_prev = button_state;
}

// Process HTTP traffic
// Background processing
server.handleClient();
MDNS.update();
}

0 comments on commit 4096da0

Please sign in to comment.