diff --git a/code/src/wifi.ino b/code/src/wifi.ino index f291af12..e8c1bb39 100644 --- a/code/src/wifi.ino +++ b/code/src/wifi.ino @@ -164,5 +164,7 @@ void wifiSetup() { void wifiLoop() { jw.loop(); - dnsServer.processNextRequest(); + if (WiFi.getMode() == WIFI_AP) { + dnsServer.processNextRequest(); + } }