Skip to content

Commit

Permalink
fix: esp8266
Browse files Browse the repository at this point in the history
  • Loading branch information
Friedjof committed Sep 30, 2023
1 parent 2a953e1 commit 554cbe2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -200,6 +201,7 @@ void setup_wifi() {
}

MDNS.addService(configManager.get_hostname(), "tcp", 80);
#endif
}

void setup_aws() {
Expand Down

0 comments on commit 554cbe2

Please sign in to comment.