1
0
Fork 0
forked from len0rd/rockbox

move the usb_core thread functionality to the main usb thread

fix button-detection so screenshots and charge-only mode work without enabling UMS
firewire detection is now handled separately from usb detection
increase the usb thread priority while an UMS connection is active


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16435 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2008-02-27 19:08:30 +00:00
parent 41c1f17296
commit 6e7fac7c34
6 changed files with 223 additions and 219 deletions

View file

@ -457,7 +457,9 @@ static void init(void)
#endif
{
usb_screen();
#ifndef HAVE_USBSTACK
mounted = true; /* mounting done @ end of USB mode */
#endif
}
#ifdef HAVE_USB_POWER
if (usb_powered()) /* avoid deadlock */