From 04da61495794ed3e22381cdead5a8f1919b512a2 Mon Sep 17 00:00:00 2001 From: barthess Date: Mon, 16 Apr 2012 17:45:19 +0000 Subject: SDC. Fixed mixed usage of uint8_t and uint32_t. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/sdc_dev2@4098 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/sdc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'os') diff --git a/os/hal/src/sdc.c b/os/hal/src/sdc.c index 62f3cb45a..6cb6dbe06 100644 --- a/os/hal/src/sdc.c +++ b/os/hal/src/sdc.c @@ -327,8 +327,7 @@ bool_t sdcConnect(SDCDriver *sdcp) { /* Determine capacity.*/ switch (sdcp->csd[3] >> 30) { - uint32_t a; - uint8_t b, c; + uint32_t a, b, c; case 0: /* CSD version 1.0 */ a = _sdc_get_slice(sdcp->csd, SDC_CSD_10_C_SIZE_SLICE); -- cgit v1.2.3