always set WiFi.mode()
This commit is contained in:
parent
8b97216931
commit
eefdad9da4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user