summaryrefslogtreecommitdiff
path: root/firmware/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usb.c')
-rw-r--r--firmware/usb.c4
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;
71 71
72static int usb_state; 72static int usb_state;
73 73
74#if defined(HAVE_MMC) && defined(USB_FULL_INIT) 74#if (CONFIG_STORAGE & STORAGE_MMC) && defined(USB_FULL_INIT)
75static int usb_mmc_countdown = 0; 75static int usb_mmc_countdown = 0;
76#endif 76#endif
77 77
@@ -435,7 +435,7 @@ static void usb_tick(void)
435 } 435 }
436 } 436 }
437 } 437 }
438#ifdef HAVE_MMC 438#if (CONFIG_STORAGE & STORAGE_MMC)
439 if(usb_mmc_countdown > 0) 439 if(usb_mmc_countdown > 0)
440 { 440 {
441 usb_mmc_countdown--; 441 usb_mmc_countdown--;