bdk: sdmmc: utilize block size defines

This commit is contained in:
CTCaer committed 2024-03-12 15:47:14 +02:00
1 parent 25b7ffecd1
commit f126486266
5 files changed
+24 -21

No files matched your search

+1 -1
View File
@@ -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 */
}