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
This commit is contained in:
parent
eb94b23db0
commit
9d9de73693
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue