mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
text changes
This commit is contained in:
@@ -212,8 +212,9 @@ void MyESP::_wifiCallback(justwifi_messages_t code, char * parameter) {
|
|||||||
// start OTA
|
// start OTA
|
||||||
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);
|
||||||
// unconditionaly show the last reset reason
|
|
||||||
myDebug_P(PSTR("[SYSTEM] Last reset info: %s"), (char *)ESP.getResetInfo().c_str());
|
|
||||||
|
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();
|
||||||
@@ -2156,7 +2157,7 @@ void MyESP::_sendEventLog(uint8_t page) {
|
|||||||
char buffer[MYESP_JSON_MAXSIZE];
|
char buffer[MYESP_JSON_MAXSIZE];
|
||||||
size_t len = serializeJson(root, buffer);
|
size_t len = serializeJson(root, buffer);
|
||||||
|
|
||||||
//Serial.printf("\nEVENTLLOG: page %d\n", page); // turn on for debugging
|
//Serial.printf("\nEVENTLOG: page %d\n", page); // turn on for debugging
|
||||||
//serializeJson(root, Serial); // turn on for debugging
|
//serializeJson(root, Serial); // turn on for debugging
|
||||||
|
|
||||||
_ws->textAll(buffer, len);
|
_ws->textAll(buffer, len);
|
||||||
|
|||||||
Reference in New Issue
Block a user