diff --git a/interface/src/framework/system/SystemStatusForm.tsx b/interface/src/framework/system/SystemStatusForm.tsx index 080b3fac0..d6a2baf10 100644 --- a/interface/src/framework/system/SystemStatusForm.tsx +++ b/interface/src/framework/system/SystemStatusForm.tsx @@ -273,9 +273,9 @@ const SystemStatusForm: FC = () => { primary={LL.HEAP()} secondary={ formatNumber(data.free_heap) + - ' kb / ' + + ' KB / ' + formatNumber(data.max_alloc_heap) + - ' kb ' + + ' KB ' + (data.esp_platform === EspPlatform.ESP8266 ? '(' + data.heap_fragmentation + '% fragmentation)' : '') } /> @@ -291,7 +291,7 @@ const SystemStatusForm: FC = () => { @@ -306,7 +306,7 @@ const SystemStatusForm: FC = () => { @@ -319,7 +319,7 @@ const SystemStatusForm: FC = () => { @@ -331,7 +331,7 @@ const SystemStatusForm: FC = () => { diff --git a/src/system.cpp b/src/system.cpp index e7e7f3236..9bb39c63e 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -796,10 +796,10 @@ void System::show_system(uuid::console::Shell & shell) { #ifndef EMSESP_STANDALONE shell.printfln(F(" SDK version: %s"), ESP.getSdkVersion()); shell.printfln(F(" CPU frequency: %lu MHz"), ESP.getCpuFreqMHz()); - shell.printfln(F(" Free heap: %lu kb"), (uint32_t)ESP.getFreeHeap() / 1024); - shell.printfln(F(" App used/free: %lu kb / %lu kb"), appUsed(), appFree()); + shell.printfln(F(" Free heap: %lu KB"), (uint32_t)ESP.getFreeHeap() / 1024); + shell.printfln(F(" App used/free: %lu KB / %lu KB"), appUsed(), appFree()); uint32_t FSused = LittleFS.usedBytes() / 1024; - shell.printfln(F(" FS used/free: %lu kb / %lu kb"), FSused / 1024, FStotal() - FSused); + shell.printfln(F(" FS used/free: %lu KB / %lu KB"), FSused / 1024, FStotal() - FSused); shell.println(); shell.println("Network:");