summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-10-31 21:25:04 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-10-31 21:25:04 +0000
commit19d1cacb1a63c306d842f81127d382512c49a062 (patch)
treebac051d18aae2c9f201744890177e0021e5269be /apps/misc.c
parent3aa58328080ab9a254d9f2329696fa4309a30d50 (diff)
cleanup storage defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c4
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 @@
#include "playlist.h"
#include "yesno.h"
-#ifdef HAVE_MMC
+#if (CONFIG_STORAGE & STORAGE_MMC)
#include "ata_mmc.h"
#endif
#include "tree.h"
@@ -910,7 +910,7 @@ long default_event_handler_ex(long event, void (*callback)(void *), void *parame
case SYS_USB_CONNECTED:
if (callback != NULL)
callback(parameter);
-#ifdef HAVE_MMC
+#if (CONFIG_STORAGE & STORAGE_MMC)
if (!mmc_touched() ||
(mmc_remove_request() == SYS_HOTSWAP_EXTRACTED))
#endif