summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-03-02 00:53:24 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-03-02 00:53:24 +0000
commitbf03c3cc9d579c2fb6d925cf613f3bc51f406839 (patch)
treeebc8e872c3412b3734d795a0aeef872424944d08 /firmware
parentb879afd600b9ac4e7fa80687321d4f6633aecce0 (diff)
don't do small cleanups just before going to sleep...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16474 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index 08eacb865b..5f6cffd5b2 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -425,7 +425,9 @@ void usb_acknowledge(long id)
void usb_init(void)
{
usb_state = USB_EXTRACTED;
+#ifdef HAVE_USBSTACK
exclusive_ata_access = false;
+#endif
usb_monitor_enabled = false;
countdown = -1;