Exposed the info64 method to get SD card information, not working properly, SD card lib might be at fault again

This commit is contained in:
anschrammh 2020-02-02 21:05:15 +01:00
parent 4855e2c244
commit 8866177a37

View File

@ -97,6 +97,10 @@ public:
return (boolean)SDFS.rename(pathFrom, pathTo);
}
bool info64(FSInfo64& info) {
return (boolean)SDFS.info64(info);
}
uint8_t type() {
sdfs::SDFSImpl* sd = static_cast<sdfs::SDFSImpl*>(SDFS.getImpl().get());
return sd->type();