提交 28f2fbd4 编写于 作者: W weety

1.Fixed sdmmc cmd retries issue;

上级 41597e87
......@@ -580,7 +580,7 @@ remove_card:
host->card = RT_NULL;
err:
rt_kprintf("init SD card failed\n");
rt_kprintf("init MMC card failed\n");
return err;
}
......@@ -81,7 +81,7 @@ void mmcsd_send_request(struct rt_mmcsd_host *host, struct rt_mmcsd_req *req)
rt_sem_take(&host->sem_ack, RT_WAITING_FOREVER);
} while(req->cmd->err && req->cmd->retries);
} while(req->cmd->err && (req->cmd->retries > 0));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册