Skip to content

Commit be6078d

Browse files
committed
TEST: WiFi.setSleepMode(WIFI_NONE_SLEEP)
WiFi has been crashing every day or so recently. Google says this might help Source: esp8266/Arduino#5083
1 parent fd78ecf commit be6078d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ESP8266_SmartExtension.ino

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ unsigned long switch_prevMillis = 0, heartbeat_prevMillis = 0;
4646
void setup()
4747
{
4848
WiFi.mode(WIFI_STA);
49+
WiFi.setSleepMode(WIFI_NONE_SLEEP);
4950
commssetup();
5051
otasetup();
5152

0 commit comments

Comments
 (0)