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-d51de3d6d3f4master
parent
3c311dfe58
commit
04da614957
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue