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:
parent
2e2cbfe4ac
commit
b4e5123e5d
40 changed files with 1953 additions and 4198 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue