show free heap in UI
This commit is contained in:
parent
b1eb46b973
commit
6f9d5b05ce
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue