aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/src/sdc.c3
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);