diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-04-16 17:45:19 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-04-16 17:45:19 +0000 |
commit | 04da61495794ed3e22381cdead5a8f1919b512a2 (patch) | |
tree | 384947cb21d97108f05556900bec79424410de4e /os | |
parent | 3c311dfe589b6a6b1fd46af2e3138512fe2135fa (diff) | |
download | ChibiOS-04da61495794ed3e22381cdead5a8f1919b512a2.tar.gz ChibiOS-04da61495794ed3e22381cdead5a8f1919b512a2.tar.bz2 ChibiOS-04da61495794ed3e22381cdead5a8f1919b512a2.zip |
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
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/src/sdc.c | 3 |
1 files changed, 1 insertions, 2 deletions
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);
|