From 8866177a37d6db223a5b3c7bf41e9978e79b1e33 Mon Sep 17 00:00:00 2001 From: anschrammh Date: Sun, 2 Feb 2020 21:05:15 +0100 Subject: [PATCH] Exposed the info64 method to get SD card information, not working properly, SD card lib might be at fault again --- src/libs/SD/src/SD.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libs/SD/src/SD.h b/src/libs/SD/src/SD.h index b483874..007553a 100644 --- a/src/libs/SD/src/SD.h +++ b/src/libs/SD/src/SD.h @@ -96,6 +96,10 @@ public: bool rename(const char* pathFrom, const char* pathTo) { return (boolean)SDFS.rename(pathFrom, pathTo); } + + bool info64(FSInfo64& info) { + return (boolean)SDFS.info64(info); + } uint8_t type() { sdfs::SDFSImpl* sd = static_cast(SDFS.getImpl().get());