Display available space on SDCard

This commit is contained in:
jpirnay
2026-03-16 20:26:36 +01:00
parent 125ef361d2
commit 87bbfb26af
4 changed files with 23 additions and 0 deletions
+3
View File
@@ -54,6 +54,9 @@ bool HalStorage::writeFile(const char* path, const String& content) {
bool HalStorage::ensureDirectoryExists(const char* path) { HAL_STORAGE_WRAPPED_CALL(ensureDirectoryExists, path); }
uint64_t HalStorage::sdTotalBytes() const { HAL_STORAGE_WRAPPED_CALL(totalBytes); }
uint64_t HalStorage::sdUsedBytes() const { HAL_STORAGE_WRAPPED_CALL(usedBytes); }
class HalFile::Impl {
public:
Impl(FsFile&& fsFile) : file(std::move(fsFile)) {}