add back showing of ESP restart reason during boot - https://github.com/proddy/EMS-ESP/issues/182

This commit is contained in:
proddy
2019-09-18 16:48:48 +02:00
parent 111c1a0b42
commit d4e2dc6386

View File

@@ -213,7 +213,7 @@ void MyESP::_wifiCallback(justwifi_messages_t code, char * parameter) {
ArduinoOTA.begin(); // moved to support esp32 ArduinoOTA.begin(); // moved to support esp32
myDebug_P(PSTR("[OTA] listening to %s.local:%u"), ArduinoOTA.getHostname().c_str(), OTA_PORT); 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 _mqtt_setup(); // MQTT Setup