diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-09-26 12:46:43 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-09-26 12:46:43 +0000 |
commit | 318c354f149558a9f51fe40fc0be61deb2055e8e (patch) | |
tree | ad7ff5d0991be601722c2db99bc3205ea43f1c7c /testhal | |
parent | 191a1672e2f44f9d28d0bbf9d56ed4a22efec0a1 (diff) | |
download | ChibiOS-318c354f149558a9f51fe40fc0be61deb2055e8e.tar.gz ChibiOS-318c354f149558a9f51fe40fc0be61deb2055e8e.tar.bz2 ChibiOS-318c354f149558a9f51fe40fc0be61deb2055e8e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6318 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32F4xx/SDC/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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;
}
|