True-False-debug %!s(int64=2) %!d(string=hai) anos
pai
achega
dc24388833
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)