From 19d1cacb1a63c306d842f81127d382512c49a062 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Fri, 31 Oct 2008 21:25:04 +0000 Subject: cleanup storage defines git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index bacaa51e01..50597699c5 100644 --- a/apps/main.c +++ b/apps/main.c @@ -89,7 +89,7 @@ #if CONFIG_TUNER #include "radio.h" #endif -#ifdef HAVE_MMC +#if (CONFIG_STORAGE & STORAGE_MMC) #include "ata_mmc.h" #endif @@ -377,7 +377,7 @@ static void init(void) #ifdef DEBUG debug_init(); #else -#if !defined(HAVE_FMADC) && !defined(HAVE_MMC) +#if !defined(HAVE_FMADC) && !(CONFIG_STORAGE & STORAGE_MMC) serial_setup(); #endif #endif @@ -456,7 +456,7 @@ static void init(void) #endif /* enter USB mode early, before trying to mount */ if (button_get_w_tmo(HZ/10) == SYS_USB_CONNECTED) -#ifdef HAVE_MMC +#if (CONFIG_STORAGE & STORAGE_MMC) if (!mmc_touched() || (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED)) #endif -- cgit v1.2.3