mirror of
https://github.com/okalachev/flix.git
synced 2026-06-28 05:56:44 +00:00
Print total RAM in sys command
This commit is contained in:
+2
-1
@@ -172,7 +172,8 @@ void doCommand(String str, bool echo = false) {
|
|||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
print("Chip: %s\n", ESP.getChipModel());
|
print("Chip: %s\n", ESP.getChipModel());
|
||||||
print("Temperature: %.1f °C\n", temperatureRead());
|
print("Temperature: %.1f °C\n", temperatureRead());
|
||||||
print("Free heap: %d\n", ESP.getFreeHeap());
|
print("Total RAM: %d KB\n", ESP.getHeapSize() / 1024);
|
||||||
|
print("Free heap: %d KB\n", ESP.getFreeHeap() / 1024);
|
||||||
print("Firmware: " __DATE__ " " __TIME__ "\n");
|
print("Firmware: " __DATE__ " " __TIME__ "\n");
|
||||||
// Print tasks table
|
// Print tasks table
|
||||||
print("Num Task MinSt Prio Core CPU%%\n");
|
print("Num Task MinSt Prio Core CPU%%\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user