From 945697c538047be0d6803dc503afe61c3f113ec4 Mon Sep 17 00:00:00 2001 From: Proddy Date: Sun, 8 Jan 2023 15:16:11 +0100 Subject: [PATCH] add max alloc --- src/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system.cpp b/src/system.cpp index bae1a342a..66730d9b0 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -885,7 +885,7 @@ void System::show_system(uuid::console::Shell & shell) { #ifndef EMSESP_STANDALONE shell.printfln(" SDK version: %s", ESP.getSdkVersion()); shell.printfln(" CPU frequency: %lu MHz", ESP.getCpuFreqMHz()); - shell.printfln(" Free heap: %lu KB", (uint32_t)ESP.getFreeHeap() / 1024); + shell.printfln(" Free heap/Max alloc: %lu KB / %lu KB", ((uint32_t)ESP.getFreeHeap() / 1024), (ESP.getMaxAllocHeap() / 1024)); shell.printfln(" App used/free: %lu KB / %lu KB", appUsed(), appFree()); uint32_t FSused = LittleFS.usedBytes() / 1024; shell.printfln(" FS used/free: %lu KB / %lu KB", FSused, FStotal() - FSused);