mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Sansa AMS SD: relax requirement for APP_CMD response, some uSD cards seem to not set correctly the response bits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23001 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
304d7175b9
commit
7cc6202c03
1 changed files with 1 additions and 2 deletions
|
|
@ -266,8 +266,7 @@ static int sd_init_card(const int drive)
|
||||||
return -2;
|
return -2;
|
||||||
|
|
||||||
/* app_cmd */
|
/* app_cmd */
|
||||||
if( !send_cmd(drive, SD_APP_CMD, 0, MCI_RESP|MCI_ARG, &response) ||
|
if( !send_cmd(drive, SD_APP_CMD, 0, MCI_RESP|MCI_ARG, &response) )
|
||||||
!(response & (1<<5)) )
|
|
||||||
{
|
{
|
||||||
return -3;
|
return -3;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue