mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-06 13:57:38 +00:00
FatFs disk_ioctl(GET_BLOCK_SIZE) unimplemented, return correct value.
This commit is contained in:
parent
03c6c80332
commit
95581f8c27
@ -232,7 +232,7 @@ DRESULT disk_ioctl (
|
||||
*((WORD *)buff) = MMCSD_BLOCK_SIZE;
|
||||
return RES_OK;
|
||||
case GET_BLOCK_SIZE:
|
||||
*((DWORD *)buff) = 256; /* 512b blocks in one erase block */
|
||||
*((DWORD *)buff) = 1; /* Unknown, TODO: implement? */
|
||||
return RES_OK;
|
||||
#if _USE_ERASE
|
||||
case CTRL_ERASE_SECTOR:
|
||||
|
Loading…
x
Reference in New Issue
Block a user