summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c6
1 files changed, 3 insertions, 3 deletions
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 @@
89#if CONFIG_TUNER 89#if CONFIG_TUNER
90#include "radio.h" 90#include "radio.h"
91#endif 91#endif
92#ifdef HAVE_MMC 92#if (CONFIG_STORAGE & STORAGE_MMC)
93#include "ata_mmc.h" 93#include "ata_mmc.h"
94#endif 94#endif
95 95
@@ -377,7 +377,7 @@ static void init(void)
377#ifdef DEBUG 377#ifdef DEBUG
378 debug_init(); 378 debug_init();
379#else 379#else
380#if !defined(HAVE_FMADC) && !defined(HAVE_MMC) 380#if !defined(HAVE_FMADC) && !(CONFIG_STORAGE & STORAGE_MMC)
381 serial_setup(); 381 serial_setup();
382#endif 382#endif
383#endif 383#endif
@@ -456,7 +456,7 @@ static void init(void)
456#endif 456#endif
457 /* enter USB mode early, before trying to mount */ 457 /* enter USB mode early, before trying to mount */
458 if (button_get_w_tmo(HZ/10) == SYS_USB_CONNECTED) 458 if (button_get_w_tmo(HZ/10) == SYS_USB_CONNECTED)
459#ifdef HAVE_MMC 459#if (CONFIG_STORAGE & STORAGE_MMC)
460 if (!mmc_touched() || 460 if (!mmc_touched() ||
461 (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED)) 461 (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED))
462#endif 462#endif