Skip to content

Commit

Permalink
Added WiFi connection status monitoring on main loop. If it disconnec…
Browse files Browse the repository at this point in the history
…ts, the ESP reboots.
  • Loading branch information
ecodina committed Sep 22, 2020
1 parent d030267 commit 6256186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp8266-hunter-sprinkler/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ void setup() {
}

void loop() {
// wifiDisconnected = checkWifiConnection(wifiDisconnected);
wifiDisconnected = checkWifiConnection(wifiDisconnected);
}

0 comments on commit 6256186

Please sign in to comment.