Fixed bug #523.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7164 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
3f7d4b4a60
commit
49d05cf795
|
@ -223,6 +223,9 @@ bool sdcConnect(SDCDriver *sdcp) {
|
|||
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);
|
||||
}
|
||||
|
||||
#if SDC_MMC_SUPPORT
|
||||
|
|
Loading…
Reference in New Issue