From 9d9de73693d1fb6527f138fea497b2584b9f6b49 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sat, 8 Oct 2011 13:00:04 +0000 Subject: [PATCH] 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 --- firmware/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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