support new rev of FatFileSystem.
Dependents: MemFilesystem_test
Fork of SDFileSystem by
Diff: SDFileSystem.cpp
- Revision:
- 4:013bb7c490c0
- Parent:
- 3:7b35d1709458
diff -r 7b35d1709458 -r 013bb7c490c0 SDFileSystem.cpp --- a/SDFileSystem.cpp Mon Mar 17 14:34:01 2014 +0000 +++ b/SDFileSystem.cpp Wed Apr 01 16:30:44 2015 +0000 @@ -211,7 +211,7 @@ return 0; } -int SDFileSystem::disk_write(const uint8_t *buffer, uint64_t block_number) { +int SDFileSystem::disk_write(const uint8_t *buffer, uint64_t block_number, uint8_t count) { // set write address for single block (CMD24) if (_cmd(24, block_number * cdv) != 0) { return 1; @@ -222,7 +222,7 @@ return 0; } -int SDFileSystem::disk_read(uint8_t *buffer, uint64_t block_number) { +int SDFileSystem::disk_read(uint8_t *buffer, uint64_t block_number, uint8_t count) { // set read address for single block (CMD17) if (_cmd(17, block_number * cdv) != 0) { return 1;