SDFileSystem
Dependencies: FATFileSystem
Fork of SDFileSystem by
Diff: SDFileSystem.cpp
- Revision:
- 7:8f4c73771378
- Parent:
- 3:7b35d1709458
--- a/SDFileSystem.cpp Fri Jun 12 03:53:47 2015 +0000 +++ b/SDFileSystem.cpp Fri Jun 12 13:57:42 2015 +0900 @@ -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;