git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3849 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-01-22 09:27:59 +00:00
parent f231e6dbdd
commit 18a0ce73d9
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@ bool_t sdc_lld_read(SDCDriver *sdcp, uint32_t startblk,
bool_t sdc_lld_write(SDCDriver *sdcp, uint32_t startblk, bool_t sdc_lld_write(SDCDriver *sdcp, uint32_t startblk,
const uint8_t *buf, uint32_t n) { const uint8_t *buf, uint32_t n) {
#if STM32_SDC_UNALIGNED_SUPPORT #if STM32_SDC_UNALIGNED_SUPPORT
if (((unsigned)buf & 3) != 0) { if (((unsigned)buf & 3) != 0) {
uint32_t i; uint32_t i;
for (i = 0; i < n; i++) { for (i = 0; i < n; i++) {