From 318c354f149558a9f51fe40fc0be61deb2055e8e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 26 Sep 2013 12:46:43 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6318 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32F4xx/SDC/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testhal') diff --git a/testhal/STM32F4xx/SDC/main.c b/testhal/STM32F4xx/SDC/main.c index f547f65e8..3a049234a 100644 --- a/testhal/STM32F4xx/SDC/main.c +++ b/testhal/STM32F4xx/SDC/main.c @@ -99,7 +99,7 @@ void cmd_sdc(BaseSequentialStream *chp, int argc, char *argv[]) { end = start + MS2ST(1000); n = 0; do { - if (blkRead(&SDCD1, startblk, buf, MMCSD_BLOCK_SIZE)) { + if (blkRead(&SDCD1, startblk, buf, 1)) { chprintf(chp, "failed\r\n"); break; } -- cgit v1.2.3