fix console show system

This commit is contained in:
MichaelDvP
2022-09-24 17:17:16 +02:00
parent 0867d7fe0e
commit e9d9cf7e48

View File

@@ -799,7 +799,7 @@ void System::show_system(uuid::console::Shell & shell) {
shell.printfln(F(" Free heap: %lu KB"), (uint32_t)ESP.getFreeHeap() / 1024); 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(" App used/free: %lu KB / %lu KB"), appUsed(), appFree());
uint32_t FSused = LittleFS.usedBytes() / 1024; 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, FStotal() - FSused);
shell.println(); shell.println();
shell.println("Network:"); shell.println("Network:");