1
0
Fork 0
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:
Frank Gevaerts 2008-03-21 00:04:17 +00:00
parent ea5903dbf1
commit bb026334c0

View file

@ -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;