git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4365 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-06-30 15:46:06 +00:00
parent bfa477e96d
commit 90588da244
1 changed files with 1 additions and 1 deletions

View File

@ -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;