Browse Source

Update sd.c

True-False-debug 2 years ago
parent
commit
dc24388833
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/drivers/sdio/sd.c

+ 1 - 1
components/drivers/sdio/sd.c

@@ -380,7 +380,7 @@ rt_err_t mmcsd_send_app_op_cond(struct rt_mmcsd_host *host,
         cmd.arg = ocr;
     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);
         if (err)