diff --git a/libraries/HTTPUpdateServer/examples/WebUpdater/WebUpdater.ino b/libraries/HTTPUpdateServer/examples/WebUpdater/WebUpdater.ino index f2503a7efe1..21688c3e7c2 100644 --- a/libraries/HTTPUpdateServer/examples/WebUpdater/WebUpdater.ino +++ b/libraries/HTTPUpdateServer/examples/WebUpdater/WebUpdater.ino @@ -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"); }