mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-07-09 23:25:45 +00:00
Add CPU temperature display
This commit is contained in:
parent
2f4d46e791
commit
07dab3aadf
2 changed files with 7 additions and 0 deletions
|
@ -33,6 +33,7 @@ function setStatus(status) {
|
|||
|
||||
setValue("cpu-freq", status.chip.cpuFreqMHz);
|
||||
setValue("cpu-cycle-count", status.chip.cycleCount);
|
||||
setValue("cpu-temp", status.chip.tempC);
|
||||
|
||||
const usedHeap = status.heap.total - status.heap.free;
|
||||
setValue("heap-used", formatBytes(usedHeap));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue