git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7164 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2014-08-08 12:21:41 +00:00
parent 3f7d4b4a60
commit 49d05cf795
1 changed files with 3 additions and 0 deletions

View File

@ -223,6 +223,9 @@ bool sdcConnect(SDCDriver *sdcp) {
else else
#endif /* SDC_MMC_SUPPORT */ #endif /* SDC_MMC_SUPPORT */
sdcp->cardmode = SDC_MODE_CARDTYPE_SDV11; 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 #if SDC_MMC_SUPPORT