diff options
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/src/sdc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/src/sdc.c b/os/hal/src/sdc.c index 988efd1e7..ef96c6a9b 100644 --- a/os/hal/src/sdc.c +++ b/os/hal/src/sdc.c @@ -222,10 +222,12 @@ bool sdcConnect(SDCDriver *sdcp) { sdcp->cardmode = SDC_MODE_CARDTYPE_MMC;
else
#endif /* SDC_MMC_SUPPORT */
+ {
sdcp->cardmode = SDC_MODE_CARDTYPE_SDV11;
- /* Reset error flag illegal command.*/
- sdc_lld_send_cmd_none(sdcp, MMCSD_CMD_GO_IDLE_STATE, 0);
+ /* Reset error flag illegal command.*/
+ sdc_lld_send_cmd_none(sdcp, MMCSD_CMD_GO_IDLE_STATE, 0);
+ }
}
#if SDC_MMC_SUPPORT
|