Update sd.c

This commit is contained in:
True-False-debug 2023-04-11 11:23:20 +08:00 committed by Man, Jianting (Meco)
parent fb7b1251cf
commit dc24388833
1 changed files with 1 additions and 1 deletions

View File

@ -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)