Update sd.c
This commit is contained in:
parent
fb7b1251cf
commit
dc24388833
|
@ -380,7 +380,7 @@ rt_err_t mmcsd_send_app_op_cond(struct rt_mmcsd_host *host,
|
||||||
cmd.arg = ocr;
|
cmd.arg = ocr;
|
||||||
cmd.flags = RESP_SPI_R1 | RESP_R3 | CMD_BCR;
|
cmd.flags = RESP_SPI_R1 | RESP_R3 | CMD_BCR;
|
||||||
|
|
||||||
for (i = 100; i; i--)
|
for (i = 1000; i; i--)
|
||||||
{
|
{
|
||||||
err = mmcsd_send_app_cmd(host, RT_NULL, &cmd, 3);
|
err = mmcsd_send_app_cmd(host, RT_NULL, &cmd, 3);
|
||||||
if (err)
|
if (err)
|
||||||
|
|
Loading…
Reference in New Issue