From 554cbe20095e3f7b60878dd12b4459d4b3efa340 Mon Sep 17 00:00:00 2001 From: Friedjof Date: Sun, 1 Oct 2023 00:54:17 +0200 Subject: [PATCH] fix: esp8266 --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 9e57db4..785b8f0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -192,6 +192,7 @@ void setup_wifi() { Serial.print("Hotspot-IP-Adresse: "); Serial.println(WiFi.softAPIP()); + #ifdef ESP32DEV if (!MDNS.begin(configManager.get_hostname())) { Serial.println("Error setting up MDNS responder!"); } else { @@ -200,6 +201,7 @@ void setup_wifi() { } MDNS.addService(configManager.get_hostname(), "tcp", 80); + #endif } void setup_aws() {