1
0
Fork 0
forked from len0rd/rockbox

sd-as3525v2: reduce the delay before reading response

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25189 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-03-15 00:36:08 +00:00
parent e32f28b740
commit ade669f0e7

View file

@ -377,8 +377,9 @@ static bool send_cmd(const int cmd, const int arg, const int flags,
if(flags & MCI_RESP)
{
mci_delay(); /* if we read the response too fast we might read the
* response of the previous command instead */
int i = 0xff; while(i--) ;
/* if we read the response too fast we might read the response
* of the previous command instead */
if(flags & MCI_LONG_RESP)
{