diff options
-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) | |||
369 | usb_enable(false); | 369 | usb_enable(false); |
370 | usb_mmc_countdown = HZ/2; /* re-enable after 0.5 sec */ | 370 | usb_mmc_countdown = HZ/2; /* re-enable after 0.5 sec */ |
371 | } | 371 | } |
372 | break; | ||
373 | #endif | 372 | #endif |
373 | break; | ||
374 | 374 | ||
375 | case USB_REENABLE: | 375 | case USB_REENABLE: |
376 | if(usb_state == USB_INSERTED) | 376 | if(usb_state == USB_INSERTED) |
377 | usb_enable(true); /* reenable only if still inserted */ | 377 | usb_enable(true); /* reenable only if still inserted */ |
378 | break; | 378 | break; |
379 | #endif | 379 | #endif /* HAVE_HOTSWAP */ |
380 | case USB_REQUEST_REBOOT: | 380 | case USB_REQUEST_REBOOT: |
381 | #ifdef HAVE_USB_POWER | 381 | #ifdef HAVE_USB_POWER |
382 | if((button_status() & ~USBPOWER_BTN_IGNORE) != USBPOWER_BUTTON) | 382 | if((button_status() & ~USBPOWER_BTN_IGNORE) != USBPOWER_BUTTON) |