From eefdad9da490345d8e433119e5f6e7a5825201a8 Mon Sep 17 00:00:00 2001 From: Floris Romeijn Date: Wed, 23 Nov 2016 00:15:02 +0100 Subject: [PATCH] always set WiFi.mode() --- esp8266-fastled-webserver.ino | 1 + 1 file changed, 1 insertion(+) 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);