diff options
Diffstat (limited to 'firmware/drivers/ata_mmc.c')
-rw-r--r-- | firmware/drivers/ata_mmc.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c index 239778577d..01b8a6f029 100644 --- a/firmware/drivers/ata_mmc.c +++ b/firmware/drivers/ata_mmc.c | |||
@@ -999,7 +999,14 @@ bool mmc_present(IF_MD_NONVOID(int drive)) | |||
999 | #ifndef HAVE_MULTIDRIVE | 999 | #ifndef HAVE_MULTIDRIVE |
1000 | const int drive=0; | 1000 | const int drive=0; |
1001 | #endif | 1001 | #endif |
1002 | return (card_info[drive].initialized && card_info[drive].numblocks > 0); | 1002 | if(drive==0) |
1003 | { | ||
1004 | return true; | ||
1005 | } | ||
1006 | else | ||
1007 | { | ||
1008 | return mmc_detect(); | ||
1009 | } | ||
1003 | } | 1010 | } |
1004 | #endif | 1011 | #endif |
1005 | 1012 | ||