Skip to content

Commit 4096da0

Browse files
#17: call mDNS update in the man loop
1 parent 9b7120c commit 4096da0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

esp8266-yeelight-switch.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ void loop(void) {
564564
button_state_prev = button_state;
565565
}
566566

567-
// Process HTTP traffic
567+
// Background processing
568568
server.handleClient();
569+
MDNS.update();
569570
}

0 commit comments

Comments
 (0)