diff options
-rw-r--r-- | apps/screens.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/screens.c b/apps/screens.c index d359f657a4..fb71866589 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -108,13 +108,6 @@ static int handle_usb_events(struct event_queue *q) | |||
108 | case SYS_TIMEOUT: | 108 | case SYS_TIMEOUT: |
109 | break; | 109 | break; |
110 | } | 110 | } |
111 | #if defined(HAVE_USBSTACK) && defined(USE_ROCKBOX_USB) \ | ||
112 | && defined(HAVE_USB_POWER) | ||
113 | if((button_status() & ~USBPOWER_BTN_IGNORE) == USBPOWER_BUTTON) | ||
114 | { | ||
115 | usb_storage_try_release_storage(); | ||
116 | } | ||
117 | #endif | ||
118 | if(TIME_AFTER(current_tick,next_update)) | 111 | if(TIME_AFTER(current_tick,next_update)) |
119 | { | 112 | { |
120 | if(usb_inserted()) { | 113 | if(usb_inserted()) { |