SD FileSystem to comunicate with a KL25Z
Fork of SDFileSystem by
Diff: SDFileSystem.cpp
- Revision:
- 21:d10a519c0910
- Parent:
- 20:2c1e8d442f68
- Child:
- 22:3fa5eaf48e81
--- a/SDFileSystem.cpp Tue Dec 08 16:02:44 2015 +0000 +++ b/SDFileSystem.cpp Fri Dec 11 16:30:36 2015 +0000 @@ -315,7 +315,7 @@ return m_Status; } -int SDFileSystem::disk_read(uint8_t* buffer, uint64_t sector, uint8_t count) +int SDFileSystem::disk_read(uint8_t* buffer, uint32_t sector, uint32_t count) { //Make sure the card is initialized before proceeding if (m_Status & STA_NOINIT) @@ -329,7 +329,7 @@ } } -int SDFileSystem::disk_write(const uint8_t* buffer, uint64_t sector, uint8_t count) +int SDFileSystem::disk_write(const uint8_t* buffer, uint32_t sector, uint32_t count) { //Make sure the card is initialized before proceeding if (m_Status & STA_NOINIT) @@ -358,7 +358,7 @@ } } -uint64_t SDFileSystem::disk_sectors() +uint32_t SDFileSystem::disk_sectors() { //Make sure the card is initialized before proceeding if (m_Status & STA_NOINIT)