forked from len0rd/rockbox
Fix USB detection on the Player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14615 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
94f6f41c3a
commit
19d141a3eb
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
int usb_detect(void)
|
int usb_detect(void)
|
||||||
{
|
{
|
||||||
return (PADR & 0x8000) ? USB_INSERTED : USB_EXTRACTED;
|
return (PADR & 0x8000) ? USB_EXTRACTED : USB_INSERTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
void usb_enable(bool on)
|
void usb_enable(bool on)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue