git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6673 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2014-02-08 15:50:16 +00:00
parent 57d5ba67c5
commit 58fd763110
2 changed files with 3 additions and 3 deletions

View File

@ -380,6 +380,9 @@ void sdc_lld_start_clk(SDCDriver *sdcp) {
SDIO->CLKCR = STM32_SDIO_DIV_LS;
SDIO->POWER |= SDIO_POWER_PWRCTRL_0 | SDIO_POWER_PWRCTRL_1;
SDIO->CLKCR |= SDIO_CLKCR_CLKEN;
/* Clock activation delay.*/
osalThreadSleep(MS2ST(STM32_SDC_CLOCK_ACTIVATION_DELAY));
}
/**

View File

@ -200,9 +200,6 @@ bool sdcConnect(SDCDriver *sdcp) {
/* Card clock initialization.*/
sdc_lld_start_clk(sdcp);
/* Clock activation delay.*/
osalThreadSleep(MS2ST(STM32_SDC_CLOCK_ACTIVATION_DELAY));
/* Enforces the initial card state.*/
sdc_lld_send_cmd_none(sdcp, MMCSD_CMD_GO_IDLE_STATE, 0);