diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-10 12:38:35 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-10 12:38:35 +0000 |
commit | b1653c7b3cac9131127bc12190e1fa89dd8c7ec1 (patch) | |
tree | 8460e69611c81ce1037acd9a390be8bd7486abe7 | |
parent | 97dce7b94464b891a25170e6556daac5bb30f7ef (diff) | |
download | ChibiOS-b1653c7b3cac9131127bc12190e1fa89dd8c7ec1.tar.gz ChibiOS-b1653c7b3cac9131127bc12190e1fa89dd8c7ec1.tar.bz2 ChibiOS-b1653c7b3cac9131127bc12190e1fa89dd8c7ec1.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4181 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/src/sdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|