1
0
Fork 0
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:
Jens Arnold 2004-11-14 07:35:48 +00:00
parent 1f6c48011c
commit 31e2e01cac

View file

@ -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 */