From 017c6f62344e909f77ada2c795e7391d2b7a9837 Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Sat, 19 Dec 2020 14:18:22 +0100 Subject: [PATCH] =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=20=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=20=D0=B8=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/FileSystem.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/FileSystem.cpp b/src/FileSystem.cpp index 9504cd2e..e07fb8c0 100644 --- a/src/FileSystem.cpp +++ b/src/FileSystem.cpp @@ -9,6 +9,8 @@ void getFSInfo() { size_t totalBytes = buf.totalBytes; // всего size_t usedBytes = buf.usedBytes; // использовано size_t maxOpenFiles = buf.maxOpenFiles; // лимит на открые файлы + size_t blockSize = buf.blockSize; + size_t pageSize = buf.pageSize; size_t maxPathLength = buf.maxPathLength; // лимит на пути и имена файлов size_t freeBytes = totalBytes - usedBytes; @@ -19,6 +21,8 @@ void getFSInfo() { SerialPrint("I", F("FS"), "totalBytes=" + String(totalBytes)); SerialPrint("I", F("FS"), "usedBytes=" + String(usedBytes)); SerialPrint("I", F("FS"), "maxOpenFiles=" + String(maxOpenFiles)); + SerialPrint("I", F("FS"), "blockSize=" + String(blockSize)); + SerialPrint("I", F("FS"), "pageSize=" + String(pageSize)); SerialPrint("I", F("FS"), "maxPathLength=" + String(maxPathLength)); SerialPrint("I", F("FS"), "freeBytes=" + String(freeBytes)); SerialPrint("I", F("FS"), "freePer=" + String(freePer));