Unverified Commit 099b432d authored by Me No Dev's avatar Me No Dev Committed by GitHub

Merge pull request #8513 from PilnyTomas/mdns_fix

Removed duplicate MDNS.begin() call in example
parents e1f14331 e9346a63
...@@ -33,8 +33,7 @@ void setup(void) { ...@@ -33,8 +33,7 @@ void setup(void) {
Serial.println("WiFi failed, retrying."); Serial.println("WiFi failed, retrying.");
} }
MDNS.begin(host); if (MDNS.begin(host)) {
if (MDNS.begin("esp32")) {
Serial.println("mDNS responder started"); Serial.println("mDNS responder started");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment