mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-18 08:13:07 +01:00
show free heap in UI
This commit is contained in:
@@ -403,6 +403,7 @@ protected:
|
|||||||
toHex(base,buffer,bsize);
|
toHex(base,buffer,bsize);
|
||||||
status["salt"] = buffer;
|
status["salt"] = buffer;
|
||||||
status["fwtype"]= firmwareType;
|
status["fwtype"]= firmwareType;
|
||||||
|
status["heap"]=(long)xPortGetFreeHeapSize();
|
||||||
//nmea0183Converter->toJson(status);
|
//nmea0183Converter->toJson(status);
|
||||||
countNMEA2KIn.toJson(status);
|
countNMEA2KIn.toJson(status);
|
||||||
countNMEA2KOut.toJson(status);
|
countNMEA2KOut.toJson(status);
|
||||||
|
|||||||
@@ -54,6 +54,10 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<span class="label">TCP client error</span>
|
<span class="label">TCP client error</span>
|
||||||
<span class="value" id="clientErr">---</span>
|
<span class="value" id="clientErr">---</span>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<span class="label">Free heap</span>
|
||||||
|
<span class="value" id="heap">---</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button id="reset">Reset</button>
|
<button id="reset">Reset</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user