Merge pull request #10 from fromeijn/master

always set WiFi.mode()
This commit is contained in:
Jason Coon 2016-11-22 19:35:09 -06:00 committed by GitHub
commit f1d2c4dd94

View File

@ -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);