forked from len0rd/rockbox
Increased init timeout to account for some very slow (SD) cards
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5407 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1f6c48011c
commit
31e2e01cac
1 changed files with 4 additions and 4 deletions
|
|
@ -415,7 +415,7 @@ static int initialize_card(int card_no)
|
|||
|
||||
/* initialize card */
|
||||
i = 0;
|
||||
while (send_cmd(CMD_SEND_OP_COND, 0, response) && (++i < 200));
|
||||
while (send_cmd(CMD_SEND_OP_COND, 0, response) && (++i < 500));
|
||||
if (response[0] != 0x00)
|
||||
return -2; /* not ready */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue