Revised to support ability to have both SD and USB drives mounted.
Dependents: Multi-FileSystem Multi-FileSystem
Fork of FATFileSystem by
Diff: FATFileSystem.h
- Revision:
- 10:e58f6254f8a2
- Parent:
- 8:f08059355141
--- a/FATFileSystem.h Sun Mar 13 00:58:52 2016 +0000 +++ b/FATFileSystem.h Sun Mar 13 19:11:54 2016 +0000 @@ -82,6 +82,12 @@ */ virtual int unmount(); + #if 0 + // I think this cannot work unless the FileSystemLike and other interfaces + // are updated. + virtual int fstat(const char *path, FILINFO *fileinfo); + #endif + virtual int disk_initialize() { return 0; } virtual int disk_status() { return 0; } virtual int disk_read(uint8_t *buffer, uint32_t sector, uint32_t count) = 0;