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
master
barthess 2012-04-16 17:45:19 +00:00
parent 3c311dfe58
commit 04da614957
1 changed files with 1 additions and 2 deletions

View File

@ -327,8 +327,7 @@ bool_t sdcConnect(SDCDriver *sdcp) {
/* Determine capacity.*/ /* Determine capacity.*/
switch (sdcp->csd[3] >> 30) { switch (sdcp->csd[3] >> 30) {
uint32_t a; uint32_t a, b, c;
uint8_t b, c;
case 0: case 0:
/* CSD version 1.0 */ /* CSD version 1.0 */
a = _sdc_get_slice(sdcp->csd, SDC_CSD_10_C_SIZE_SLICE); a = _sdc_get_slice(sdcp->csd, SDC_CSD_10_C_SIZE_SLICE);