[stock128] No variant there!

This commit is contained in:
bsongis
2012-10-30 17:38:44 +00:00
parent 4ae4850820
commit 00390a6fd4
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -1390,10 +1390,7 @@ DRESULT disk_ioctl (
break;
case GET_SECTOR_COUNT : /* Get number of sectors on the disk (DWORD) */
if (Cmd_A41_resp & OCR_SD_CCS)
*(DWORD*)buff = SD_CSD_BLOCKNR_HC(Card_CSD);
else
*(DWORD*)buff = SD_CSD_BLOCKNR(Card_CSD);
*DWORD*)buff = SD_GET_BLOCKNR();
res = RES_OK;
break;