forked from len0rd/rockbox
Mostly revert r16723, since it causes problems on ipod (i.e. it doesn't seem to detect a connection anymore)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16727 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ea5903dbf1
commit
bb026334c0
1 changed files with 1 additions and 6 deletions
|
|
@ -119,12 +119,7 @@ static bool usb_pin_detect(void)
|
|||
int usb_detect(void)
|
||||
{
|
||||
if(usb_pin_detect()) {
|
||||
if(usb_drv_connected()) {
|
||||
return USB_INSERTED;
|
||||
}
|
||||
else {
|
||||
return USB_POWERED;
|
||||
}
|
||||
return USB_INSERTED;
|
||||
}
|
||||
else {
|
||||
return USB_EXTRACTED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue