Minor stuff

This commit is contained in:
Aurora 2016-10-07 14:31:15 +02:00
parent 7f314dfe11
commit 1a62e91c01

View File

@ -50,10 +50,7 @@ DRESULT disk_read (
UINT count /* Number of sectors to read */ UINT count /* Number of sectors to read */
) )
{ {
if(sdmmc_sdcard_readsectors(sector, count, (BYTE *)buff)) return (!sdmmc_sdcard_readsectors(sector, count, (BYTE *)buff)) ? RES_OK : RES_PARERR;
return RES_PARERR;
return RES_OK;
} }