forked from len0rd/rockbox
as3525: don't use incomplete USB code when charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26083 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
36778730e6
commit
31caef4ad6
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ static int usb_status = USB_EXTRACTED;
|
|||
|
||||
void usb_enable(bool on)
|
||||
{
|
||||
#ifdef HAVE_USBSTACK
|
||||
#if defined(HAVE_USBSTACK) && defined(USE_ROCKBOX_USB)
|
||||
if (on)
|
||||
usb_core_init();
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue