bdk: sdmmc: utilize block size defines
This commit is contained in:
@@ -19,7 +19,7 @@ void* ff_memalloc ( /* Returns pointer to the allocated memory block (null if no
|
||||
)
|
||||
{
|
||||
// Ensure size is aligned to SDMMC block size.
|
||||
return malloc(ALIGN(msize, 512)); /* Allocate a new memory block with POSIX API */
|
||||
return malloc(ALIGN(msize, SDMMC_DAT_BLOCKSIZE)); /* Allocate a new memory block with POSIX API */
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user