summaryrefslogtreecommitdiff
path: root/firmware/usb.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-01-14 07:23:41 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-01-14 07:23:41 +0000
commitd7d75b7fd49f922343be3d4ab6314e499624740d (patch)
treecd1ddfbf98ba73d255934fab88feb2aa4667090f /firmware/usb.c
parente2a25592f8655fda9bf9260d22501017fba26390 (diff)
Do penance. Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19769 a1c6a512-1295-4272-9138-f99709370657
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 387adc75ad..918d9802a3 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -76,12 +76,12 @@ static int usb_mmc_countdown = 0;
static long usb_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)];
static const char usb_thread_name[] = "usb";
static unsigned int usb_thread_entry = 0;
-#endif /* USB_FULL_INIT */
-static struct event_queue usb_queue;
#ifndef USB_STATUS_BY_EVENT
#define NUM_POLL_READINGS (HZ/5)
static int countdown;
#endif /* USB_STATUS_BY_EVENT */
+#endif /* USB_FULL_INIT */
+static struct event_queue usb_queue;
static bool usb_monitor_enabled;
static int last_usb_status;
#ifdef HAVE_USBSTACK