forked from len0rd/rockbox
Bad fix, reverting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15766 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a561abf07b
commit
e8fd3dd28a
1 changed files with 1 additions and 4 deletions
|
|
@ -29,8 +29,8 @@
|
|||
#include "string.h"
|
||||
#ifdef HAVE_USBSTACK
|
||||
#include "usb_core.h"
|
||||
#endif
|
||||
#include "usb_drv.h"
|
||||
#endif
|
||||
|
||||
void usb_init_device(void)
|
||||
{
|
||||
|
|
@ -118,8 +118,5 @@ int usb_detect(void)
|
|||
return USB_INSERTED;
|
||||
#endif
|
||||
|
||||
if (usb_drv_powered())
|
||||
return USB_INSERTED;
|
||||
|
||||
return USB_EXTRACTED;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue