Skip to content

Commit

Permalink
Merge pull request #8513 from PilnyTomas/mdns_fix
Browse files Browse the repository at this point in the history
Removed duplicate MDNS.begin() call in example
  • Loading branch information
me-no-dev authored Aug 12, 2023
2 parents e1f1433 + e9346a6 commit 099b432
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ void setup(void) {
Serial.println("WiFi failed, retrying.");
}

MDNS.begin(host);
if (MDNS.begin("esp32")) {
if (MDNS.begin(host)) {
Serial.println("mDNS responder started");
}

Expand Down

0 comments on commit 099b432

Please sign in to comment.