From b1653c7b3cac9131127bc12190e1fa89dd8c7ec1 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 10 May 2012 12:38:35 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4181 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/sdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/hal/src/sdc.c b/os/hal/src/sdc.c index 3ff938f98..6ae84c98c 100644 --- a/os/hal/src/sdc.c +++ b/os/hal/src/sdc.c @@ -499,7 +499,7 @@ bool_t sdcGetInfo(SDCDriver *sdcp, BlockDeviceInfo *bdip) { } chSysUnlock(); - bdip->blk_num = 0; /* NOTE: To be implemented.*/ + bdip->blk_num = sdcp->capacity; bdip->blk_size = MMCSD_BLOCK_SIZE; return FALSE;