summaryrefslogtreecommitdiffstats
path: root/firmware/usb.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-08 13:00:04 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-08 13:00:04 +0000
commit9d9de73693d1fb6527f138fea497b2584b9f6b49 (patch)
treedcd9fcbfcecb0218dabcb73a999ea417c41970d2 /firmware/usb.c
parenteb94b23db0aeadf0c1faf07e5ec1ff07142121d3 (diff)
downloadrockbox-9d9de73693d1fb6527f138fea497b2584b9f6b49.tar.gz
rockbox-9d9de73693d1fb6527f138fea497b2584b9f6b49.tar.bz2
rockbox-9d9de73693d1fb6527f138fea497b2584b9f6b49.zip
usb: only declare usb_mmc_countdown on target which don't use the usb stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30733 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usb.c')
-rw-r--r--firmware/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index 64e727330a..4a6ab2231c 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -66,7 +66,7 @@ bool do_screendump_instead_of_usb = false;
/* We assume that the USB cable is extracted */
static int usb_state = USB_EXTRACTED;
-#if (CONFIG_STORAGE & STORAGE_MMC) && defined(USB_FULL_INIT)
+#if (CONFIG_STORAGE & STORAGE_MMC) && defined(USB_FULL_INIT) && !defined(HAVE_USBSTACK)
static int usb_mmc_countdown = 0;
#endif