commit
f1d2c4dd94
@ -161,6 +161,7 @@ void setup(void) {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
WiFi.mode(WIFI_STA);
|
||||||
Serial.printf("Connecting to %s\n", ssid);
|
Serial.printf("Connecting to %s\n", ssid);
|
||||||
if (String(WiFi.SSID()) != String(ssid)) {
|
if (String(WiFi.SSID()) != String(ssid)) {
|
||||||
WiFi.begin(ssid, password);
|
WiFi.begin(ssid, password);
|
||||||
|
Loading…
Reference in New Issue
Block a user