From 637668d9b1d1e8f47d1b3ca9c50f29da379bf090 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Tue, 11 May 2021 01:31:55 +0200 Subject: [PATCH] Add usedBytes and totalBytes --- src/hasp_filesystem.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hasp_filesystem.cpp b/src/hasp_filesystem.cpp index 78a1101a..ceff1646 100644 --- a/src/hasp_filesystem.cpp +++ b/src/hasp_filesystem.cpp @@ -65,6 +65,8 @@ void filesystemInfo() Serial.print("Max path lenght: "); // Serial.println(SPIFFS.maxPathLength()); #endif + + Log.verbose(TAG_FILE, "Partition size: total: %d, used: %d", HASP_FS.totalBytes(), HASP_FS.usedBytes()); } void filesystemList()