diff options
-rw-r--r-- | firmware/target/arm/as3525/ata_sd_as3525.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index 96b10c258a..c848ba1dca 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c | |||
@@ -266,8 +266,7 @@ static int sd_init_card(const int drive) | |||
266 | return -2; | 266 | return -2; |
267 | 267 | ||
268 | /* app_cmd */ | 268 | /* app_cmd */ |
269 | if( !send_cmd(drive, SD_APP_CMD, 0, MCI_RESP|MCI_ARG, &response) || | 269 | if( !send_cmd(drive, SD_APP_CMD, 0, MCI_RESP|MCI_ARG, &response) ) |
270 | !(response & (1<<5)) ) | ||
271 | { | 270 | { |
272 | return -3; | 271 | return -3; |
273 | } | 272 | } |