diff --git a/src/main.cpp b/src/main.cpp index becdce6..138a4e9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -403,6 +403,7 @@ protected: toHex(base,buffer,bsize); status["salt"] = buffer; status["fwtype"]= firmwareType; + status["heap"]=(long)xPortGetFreeHeapSize(); //nmea0183Converter->toJson(status); countNMEA2KIn.toJson(status); countNMEA2KOut.toJson(status); diff --git a/web/index.html b/web/index.html index a607101..2ecf096 100644 --- a/web/index.html +++ b/web/index.html @@ -54,6 +54,10 @@