mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Turn of Wifi sleep mode
mDNS will sometimes fail with this on
This commit is contained in:
parent
765e8f3fd0
commit
46b1438079
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ bool Network::connect() {
|
||||||
break;
|
break;
|
||||||
case WL_CONNECTED:
|
case WL_CONNECTED:
|
||||||
this->setConnected();
|
this->setConnected();
|
||||||
delay(100);
|
WiFi.setSleep(false);
|
||||||
return true;
|
return true;
|
||||||
case WL_NO_SHIELD:
|
case WL_NO_SHIELD:
|
||||||
Serial.println("Connection failed - WiFi module not found");
|
Serial.println("Connection failed - WiFi module not found");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue