mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
Merge branch 'dev2' of https://github.com/emsesp/EMS-ESP32 into dev2
This commit is contained in:
@@ -548,7 +548,7 @@ void System::loop() {
|
||||
|
||||
// send MQTT info topic appended with the version information as JSON, as a retained flag
|
||||
void System::send_info_mqtt(const char * event_str, bool send_ntp) {
|
||||
// use dynamic json becaues it is called from NTP-callback from lwip task with small stack
|
||||
// use dynamic json because it is called from NTP-callback from lwip task with small stack
|
||||
DynamicJsonDocument doc = DynamicJsonDocument(EMSESP_JSON_SIZE_MEDIUM);
|
||||
doc["event"] = event_str;
|
||||
doc["version"] = EMSESP_APP_VERSION;
|
||||
@@ -1516,7 +1516,7 @@ std::string System::reset_reason(uint8_t cpu) const {
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
return ("Unkonwn");
|
||||
return ("Unknown");
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user