mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-21 13:41:19 +00:00
added psram
This commit is contained in:
parent
5e1224a266
commit
e5585dab29
1 changed files with 2 additions and 0 deletions
|
@ -198,6 +198,8 @@ void onGetStatus(AsyncWebServerRequest *request)
|
||||||
doc["uptime"] = millis();
|
doc["uptime"] = millis();
|
||||||
doc["heapFree"] = ESP.getFreeHeap();
|
doc["heapFree"] = ESP.getFreeHeap();
|
||||||
doc["heapTotal"] = ESP.getHeapSize();
|
doc["heapTotal"] = ESP.getHeapSize();
|
||||||
|
doc["psramFree"] = ESP.getFreePsram();
|
||||||
|
doc["psramTotal"] = ESP.getPsramSize();
|
||||||
|
|
||||||
String jsonString;
|
String jsonString;
|
||||||
serializeJson(doc, jsonString);
|
serializeJson(doc, jsonString);
|
||||||
|
|
Loading…
Add table
Reference in a new issue