git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3849 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
f231e6dbdd
commit
18a0ce73d9
|
@ -708,7 +708,7 @@ bool_t sdc_lld_read(SDCDriver *sdcp, uint32_t startblk,
|
|||
bool_t sdc_lld_write(SDCDriver *sdcp, uint32_t startblk,
|
||||
const uint8_t *buf, uint32_t n) {
|
||||
|
||||
#if STM32_SDC_UNALIGNED_SUPPORT
|
||||
#if STM32_SDC_UNALIGNED_SUPPORT
|
||||
if (((unsigned)buf & 3) != 0) {
|
||||
uint32_t i;
|
||||
for (i = 0; i < n; i++) {
|
||||
|
|
Loading…
Reference in New Issue