mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
parent
5ebf04f047
commit
9ada3df640
@ -118,6 +118,10 @@ void WifiSetMode(WiFiMode_t wifi_mode)
|
||||
delay(100);
|
||||
}
|
||||
|
||||
if (!WiFi.mode(wifi_mode)) {
|
||||
AddLog_P(LOG_LEVEL_DEBUG, PSTR(D_LOG_WIFI "Cannot set Mode"));
|
||||
}
|
||||
|
||||
if (wifi_mode == WIFI_OFF) {
|
||||
delay(1000);
|
||||
WiFi.forceSleepBegin();
|
||||
|
Loading…
x
Reference in New Issue
Block a user