old repo - SD card read example
Fork of FATFileSystem by
Diff: FATFileSystem.h
- Revision:
- 7:094f84646b9f
- Parent:
- 5:b3b3370574cf
- Child:
- 8:c4baca9a2c3d
--- a/FATFileSystem.h Thu Nov 26 13:30:57 2015 +0000 +++ b/FATFileSystem.h Fri Dec 11 16:16:25 2015 +0000 @@ -84,10 +84,10 @@ virtual int disk_initialize() { return 0; } virtual int disk_status() { return 0; } - virtual int disk_read(uint8_t * buffer, uint64_t sector, uint8_t count) = 0; - virtual int disk_write(const uint8_t * buffer, uint64_t sector, uint8_t count) = 0; + virtual int disk_read(uint8_t *buffer, uint32_t sector, uint32_t count) = 0; + virtual int disk_write(const uint8_t *buffer, uint32_t sector, uint32_t count) = 0; virtual int disk_sync() { return 0; } - virtual uint64_t disk_sectors() = 0; + virtual uint32_t disk_sectors() = 0; };