summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 5a8565e822..35699f6ee7 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -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)
{