Browse Source

Check DNS requests only in AP mode

fastled
Xose Pérez 8 years ago
parent
commit
cd8aaf95c7
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      code/src/wifi.ino

+ 3
- 1
code/src/wifi.ino View File

@ -164,5 +164,7 @@ void wifiSetup() {
void wifiLoop() { void wifiLoop() {
jw.loop(); jw.loop();
dnsServer.processNextRequest();
if (WiFi.getMode() == WIFI_AP) {
dnsServer.processNextRequest();
}
} }

Loading…
Cancel
Save