diff --git a/bsp/mini2440/sdcard.c b/bsp/mini2440/sdcard.c index 6fa75dcde5..8aeb9062d5 100644 --- a/bsp/mini2440/sdcard.c +++ b/bsp/mini2440/sdcard.c @@ -362,7 +362,7 @@ RERDCMD: status = SDIFSTA; if((status & 0x1000) == 0x1000) { -#if 0 +#if 1 register rt_uint32_t value; value = SDIDAT; @@ -372,8 +372,9 @@ RERDCMD: buf[1] = (value >> 16) & 0xff; buf[2] = (value >> 8) & 0xff; buf[3] = value & 0xff; -#endif +#else *(rt_uint32_t *)buf = SDIDAT; +#endif rd_cnt++; buf += 4; } diff --git a/filesystem/dfs/filesystems/efsl/src/include/config.h b/filesystem/dfs/filesystems/efsl/src/include/config.h index f4e296b18a..a2e3b56f32 100644 --- a/filesystem/dfs/filesystems/efsl/src/include/config.h +++ b/filesystem/dfs/filesystems/efsl/src/include/config.h @@ -46,7 +46,7 @@ * but it will work for sure. */ -#define BYTE_ALIGNMENT +/* #define BYTE_ALIGNMENT */ /* Cache configuration -------------------