rebase Reboot message
This commit is contained in:
parent
ebda3f2c24
commit
de08f0b909
|
|
@ -301,9 +301,9 @@ void loop()
|
|||
|
||||
if ((now - lastWifiDisconnect) > (5 /* min */ * 60 /* sec/min */ * 1000 /* millisec/sec */))
|
||||
{
|
||||
#ifdef DEBUGGER_TELEGRAM_ID
|
||||
tele.sendMessage(DEBUGGER_TELEGRAM_ID, "Wifi disconnected - restarting now");
|
||||
#endif
|
||||
Serial.println("Wifi disconnected - restarting now");
|
||||
|
||||
delay(2000);
|
||||
esp_restart();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user