bdk: sdmmc: utilize block size defines
This commit is contained in:
1 parent
25b7ffecd1
commit
f126486266
5 files changed
+24
-21
No files matched your search
@@ -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