Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: frdm-kl25_sd_fs_wav
Diff: SDFileSystem.cpp
- Revision:
- 21:d10a519c0910
- Parent:
- 20:2c1e8d442f68
- Child:
- 22:3fa5eaf48e81
diff -r 2c1e8d442f68 -r d10a519c0910 SDFileSystem.cpp
--- 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)