diff options
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c index cd59dbc40f..7c8ff0fbd8 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -61,7 +61,7 @@ | |||
61 | #include "playlist.h" | 61 | #include "playlist.h" |
62 | #include "yesno.h" | 62 | #include "yesno.h" |
63 | 63 | ||
64 | #ifdef HAVE_MMC | 64 | #if (CONFIG_STORAGE & STORAGE_MMC) |
65 | #include "ata_mmc.h" | 65 | #include "ata_mmc.h" |
66 | #endif | 66 | #endif |
67 | #include "tree.h" | 67 | #include "tree.h" |
@@ -910,7 +910,7 @@ long default_event_handler_ex(long event, void (*callback)(void *), void *parame | |||
910 | case SYS_USB_CONNECTED: | 910 | case SYS_USB_CONNECTED: |
911 | if (callback != NULL) | 911 | if (callback != NULL) |
912 | callback(parameter); | 912 | callback(parameter); |
913 | #ifdef HAVE_MMC | 913 | #if (CONFIG_STORAGE & STORAGE_MMC) |
914 | if (!mmc_touched() || | 914 | if (!mmc_touched() || |
915 | (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED)) | 915 | (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED)) |
916 | #endif | 916 | #endif |