summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 0b2699e505..9175ef0f09 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -434,7 +434,7 @@ static int sd_init_card(void)
434 } while(!(card_info.ocr & (1<<31)) ); 434 } while(!(card_info.ocr & (1<<31)) );
435 435
436 /* CMD2 send CID */ 436 /* CMD2 send CID */
437 if(!send_cmd(SD_ALL_SEND_CID, 0, MCI_RESP|MCI_LONG_RESP, card_info.cid)) 437 if(!send_cmd(SD_ALL_SEND_CID, 0, MCI_RESP|MCI_LONG_RESP, temp_reg))
438 return -5; 438 return -5;
439 439
440 for(i=0; i<4; i++) 440 for(i=0; i<4; i++)