added timeout
This commit is contained in:
parent
07f8875963
commit
fed62e1642
1 changed files with 3 additions and 3 deletions
|
@ -47,9 +47,9 @@ Berlin, 2007
|
||||||
* @brief MMC-/SD-Card library
|
* @brief MMC-/SD-Card library
|
||||||
*
|
*
|
||||||
* @author Michael Baar <baar@inf.fu-berlin.de>
|
* @author Michael Baar <baar@inf.fu-berlin.de>
|
||||||
* @version $Revision: 1.5 $
|
* @version $Revision: 1.6 $
|
||||||
*
|
*
|
||||||
* $Id: sd.c,v 1.5 2008/05/27 14:05:09 nvt-se Exp $
|
* $Id: sd.c,v 1.6 2008/05/27 14:22:55 nvt-se Exp $
|
||||||
*
|
*
|
||||||
* Initialisation and basic functions for read and write access
|
* Initialisation and basic functions for read and write access
|
||||||
*/
|
*/
|
||||||
|
@ -645,7 +645,7 @@ _sd_send_cmd(const uint8_t command,
|
||||||
if ((data & 0x80) == 0) {
|
if ((data & 0x80) == 0) {
|
||||||
goto _sd_send_cmd_response;
|
goto _sd_send_cmd_response;
|
||||||
}
|
}
|
||||||
} while (i);
|
} while (i--);
|
||||||
|
|
||||||
goto sd_send_cmd_fail;
|
goto sd_send_cmd_fail;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue