From d4e2dc6386e02779119d824e22d4e1ba9c2aade2 Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 18 Sep 2019 16:48:48 +0200 Subject: [PATCH] add back showing of ESP restart reason during boot - https://github.com/proddy/EMS-ESP/issues/182 --- src/MyESP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MyESP.cpp b/src/MyESP.cpp index ddc23835a..e490dbfd1 100644 --- a/src/MyESP.cpp +++ b/src/MyESP.cpp @@ -213,7 +213,7 @@ void MyESP::_wifiCallback(justwifi_messages_t code, char * parameter) { ArduinoOTA.begin(); // moved to support esp32 myDebug_P(PSTR("[OTA] listening to %s.local:%u"), ArduinoOTA.getHostname().c_str(), OTA_PORT); - //myDebug_P(PSTR("[SYSTEM] Last reset info: %s"), (char *)ESP.getResetInfo().c_str()); // unconditionally show the last reset reason + myDebug_P(PSTR("[SYSTEM] Last reset info: %s"), (char *)ESP.getResetInfo().c_str()); // unconditionally show the last reset reason _mqtt_setup(); // MQTT Setup