diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-09-16 21:59:01 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-09-16 21:59:01 +0000 |
commit | cf978b9fa3152587be1376dc6028502a5a720e97 (patch) | |
tree | 99c1e861e67aa0a3a983770648af6cd92a6205e7 /firmware/usb.c | |
parent | 3a2bc2a617f32d0f48f74f6d9b85240287571aa6 (diff) |
Fix wrong #endif placement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18534 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usb.c')
-rw-r--r-- | firmware/usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/usb.c b/firmware/usb.c index 7722e5f93b..8bd11e4ec1 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -369,14 +369,14 @@ static void usb_thread(void) usb_enable(false); usb_mmc_countdown = HZ/2; /* re-enable after 0.5 sec */ } - break; #endif + break; case USB_REENABLE: if(usb_state == USB_INSERTED) usb_enable(true); /* reenable only if still inserted */ break; -#endif +#endif /* HAVE_HOTSWAP */ case USB_REQUEST_REBOOT: #ifdef HAVE_USB_POWER if((button_status() & ~USBPOWER_BTN_IGNORE) != USBPOWER_BUTTON) |