diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-10-31 21:25:04 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-10-31 21:25:04 +0000 |
commit | 19d1cacb1a63c306d842f81127d382512c49a062 (patch) | |
tree | bac051d18aae2c9f201744890177e0021e5269be /firmware/usb.c | |
parent | 3aa58328080ab9a254d9f2329696fa4309a30d50 (diff) |
cleanup storage defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usb.c')
-rw-r--r-- | firmware/usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
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--; |