mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Fix crashdump bad JSON
This commit is contained in:
parent
dd6cc3256b
commit
fd079c57a3
@ -69,10 +69,8 @@ void CrashDump(void)
|
||||
|
||||
for (uint32_t i = 0; i < count; i++) {
|
||||
ESP.rtcUserMemoryRead(i, (uint32_t*)&value, sizeof(value));
|
||||
if ((value >= 0x40000000) && (value < 0x40300000)) {
|
||||
if (i > 0) { ResponseAppend_P(PSTR(",")); }
|
||||
ResponseAppend_P(PSTR("\"%08x\""), value);
|
||||
}
|
||||
if (i > 0) { ResponseAppend_P(PSTR(",")); }
|
||||
ResponseAppend_P(PSTR("\"%08x\""), value);
|
||||
}
|
||||
ResponseAppend_P(PSTR("]}"));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user