Skip to content

Commit

Permalink
fix: the device is not work after reconnect wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
yelili422 committed Jun 25, 2024
1 parent 8a8e1a0 commit 807e145
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/arduino_homekit_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3162,7 +3162,6 @@ void homekit_mdns_init(homekit_server_t *server) {
}

if (homekit_mdns_started) {
MDNS.close();
MDNS.begin(name->value.string_value, staIP);
INFO("MDNS restart: %s, IP: %s", name->value.string_value, staIP.toString().c_str());
MDNS.announce();
Expand Down

0 comments on commit 807e145

Please sign in to comment.