1
0
Fork 0
forked from len0rd/rockbox

New USB stack

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15758 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2007-11-22 20:51:00 +00:00
parent 2e2cbfe4ac
commit b4e5123e5d
40 changed files with 1953 additions and 4198 deletions

View file

@ -87,9 +87,11 @@ static void usb_slave_mode(bool on)
else
{
DEBUGF("Leaving USB slave mode\n");
#ifndef HAVE_USBSTACK
/* Let the ISDx00 settle */
sleep(HZ*1);
#endif
usb_enable(false);
@ -402,7 +404,7 @@ bool usb_charging_enabled(void)
/* TODO: implement it for other targets... */
#endif
logf("usb_charging_enabled: %s\n", rc ? "true" : "false" );
logf("usb charging %s", rc ? "enabled" : "disabled" );
return rc;
}
#endif