esp.reset on wifi disconnect

This commit is contained in:
Wolfgang Hottgenroth 2020-07-24 23:28:04 +02:00
parent 83d6b40b20
commit 4a4b8ee788
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4

View File

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