forked from len0rd/rockbox
Put an #ifdef in the technically correct place. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26599 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a0557b23f0
commit
860451927b
1 changed files with 1 additions and 1 deletions
|
|
@ -408,8 +408,8 @@ static void usb_thread(void)
|
||||||
#else /* !HAVE_USBSTACK */
|
#else /* !HAVE_USBSTACK */
|
||||||
if(usb_state == USB_INSERTED)
|
if(usb_state == USB_INSERTED)
|
||||||
{
|
{
|
||||||
usb_enable(false);
|
|
||||||
#if (CONFIG_STORAGE & STORAGE_MMC)
|
#if (CONFIG_STORAGE & STORAGE_MMC)
|
||||||
|
usb_enable(false);
|
||||||
usb_mmc_countdown = HZ/2; /* re-enable after 0.5 sec */
|
usb_mmc_countdown = HZ/2; /* re-enable after 0.5 sec */
|
||||||
#endif /* STORAGE_MMC */
|
#endif /* STORAGE_MMC */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue