forked from len0rd/rockbox
Re-order usb init a bit, so software and hardware usb are the same. This fixes FS#9957
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21016 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
68e512f8d3
commit
acc0f799d5
1 changed files with 1 additions and 5 deletions
|
|
@ -139,10 +139,6 @@ static void app_main(void)
|
|||
viewportmanager_set_statusbar(VP_SB_ALLSCREENS);
|
||||
add_event(GUI_EVENT_STATUSBAR_TOGGLE, false,
|
||||
viewportmanager_statusbar_changed);
|
||||
#ifdef HAVE_USBSTACK
|
||||
/* All threads should be created and public queues registered by now */
|
||||
usb_start_monitoring();
|
||||
#endif
|
||||
root_menu();
|
||||
}
|
||||
|
||||
|
|
@ -459,7 +455,7 @@ static void init(void)
|
|||
eeprom_settings_init();
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_USBSTACK
|
||||
#if !defined(HAVE_USBSTACK) || defined(USE_ROCKBOX_USB)
|
||||
usb_start_monitoring();
|
||||
while (usb_detect() == USB_INSERTED)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue