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 --- firmware/usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/usb.c') diff --git a/firmware/usb.c b/firmware/usb.c index e5c7565d39..9064987ed1 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -71,7 +71,7 @@ static int countdown; static int usb_state; -#if defined(HAVE_MMC) && defined(USB_FULL_INIT) +#if (CONFIG_STORAGE & STORAGE_MMC) && defined(USB_FULL_INIT) static int usb_mmc_countdown = 0; #endif @@ -435,7 +435,7 @@ static void usb_tick(void) } } } -#ifdef HAVE_MMC +#if (CONFIG_STORAGE & STORAGE_MMC) if(usb_mmc_countdown > 0) { usb_mmc_countdown--; -- cgit v1.2.3