diff --git a/esp8266-fastled-webserver.ino b/esp8266-fastled-webserver.ino index d565893..5c631da 100644 --- a/esp8266-fastled-webserver.ino +++ b/esp8266-fastled-webserver.ino @@ -161,6 +161,7 @@ void setup(void) { } else { + WiFi.mode(WIFI_STA); Serial.printf("Connecting to %s\n", ssid); if (String(WiFi.SSID()) != String(ssid)) { WiFi.begin(ssid, password);