diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2009-05-21 19:01:07 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2009-05-21 19:01:07 +0000 |
commit | c483efadc63eaed35b5fb5e4e02c2282daf32470 (patch) | |
tree | 1ae24f8222b778062f538f77810c42788554bc95 /apps | |
parent | 4a4639e157762bacfe84a99a91feabf282b5546f (diff) | |
download | rockbox-c483efadc63eaed35b5fb5e4e02c2282daf32470.tar.gz rockbox-c483efadc63eaed35b5fb5e4e02c2282daf32470.zip |
revert r21016, as it doesn't solve anything
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21019 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index 1ff4032f6e..642ec5be08 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -139,6 +139,10 @@ static void app_main(void) | |||
139 | viewportmanager_set_statusbar(VP_SB_ALLSCREENS); | 139 | viewportmanager_set_statusbar(VP_SB_ALLSCREENS); |
140 | add_event(GUI_EVENT_STATUSBAR_TOGGLE, false, | 140 | add_event(GUI_EVENT_STATUSBAR_TOGGLE, false, |
141 | viewportmanager_statusbar_changed); | 141 | viewportmanager_statusbar_changed); |
142 | #ifdef HAVE_USBSTACK | ||
143 | /* All threads should be created and public queues registered by now */ | ||
144 | usb_start_monitoring(); | ||
145 | #endif | ||
142 | root_menu(); | 146 | root_menu(); |
143 | } | 147 | } |
144 | 148 | ||
@@ -455,7 +459,7 @@ static void init(void) | |||
455 | eeprom_settings_init(); | 459 | eeprom_settings_init(); |
456 | #endif | 460 | #endif |
457 | 461 | ||
458 | #if !defined(HAVE_USBSTACK) || defined(USE_ROCKBOX_USB) | 462 | #ifndef HAVE_USBSTACK |
459 | usb_start_monitoring(); | 463 | usb_start_monitoring(); |
460 | while (usb_detect() == USB_INSERTED) | 464 | while (usb_detect() == USB_INSERTED) |
461 | { | 465 | { |