esp.reset on wifi disconnect

This commit is contained in:
2020-07-24 23:28:04 +02:00
parent 83d6b40b20
commit 4a4b8ee788

View File

@ -61,6 +61,9 @@ void setupProduction() {
void loopProduction() {
if (WiFi.status() != WL_CONNECTED) {
ESP.reset();
}
loopApplication();
}