diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-30 15:46:06 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-30 15:46:06 +0000 |
commit | 90588da2444d29877c361a2ebece156eee7cb1d8 (patch) | |
tree | 4cf408f690bc09f32ce39174e58ba2c68fed502b | |
parent | bfa477e96da26b31d6907260b72037c67cd30d3d (diff) | |
download | ChibiOS-90588da2444d29877c361a2ebece156eee7cb1d8.tar.gz ChibiOS-90588da2444d29877c361a2ebece156eee7cb1d8.tar.bz2 ChibiOS-90588da2444d29877c361a2ebece156eee7cb1d8.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4365 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/various/fatfs_bindings/fatfs_diskio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/various/fatfs_bindings/fatfs_diskio.c b/os/various/fatfs_bindings/fatfs_diskio.c index 40f3666a4..1064a6875 100644 --- a/os/various/fatfs_bindings/fatfs_diskio.c +++ b/os/various/fatfs_bindings/fatfs_diskio.c @@ -221,7 +221,7 @@ DRESULT disk_ioctl ( case CTRL_SYNC:
return RES_OK;
case GET_SECTOR_COUNT:
- *((DWORD *)buff) = sdcGetCardCapacity(&SDCD1);
+ *((DWORD *)buff) = mmcsdGetCardCapacity(&SDCD1);
return RES_OK;
case GET_SECTOR_SIZE:
*((WORD *)buff) = MMCSD_BLOCK_SIZE;
|