aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F4xx')
-rw-r--r--testhal/STM32F4xx/SDC/main.c2
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;
}