summaryrefslogtreecommitdiffstats
path: root/firmware/target/sh/archos/player/usb-player.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-09-05 00:24:28 +0000
committerJens Arnold <amiconn@rockbox.org>2007-09-05 00:24:28 +0000
commit19d141a3eb3200a1d406452351092e0e81a4efd3 (patch)
tree16f5c7361173b4ec524baaaa82d77f96b7070b37 /firmware/target/sh/archos/player/usb-player.c
parent94f6f41c3ad583da17fc11af5beddedba62f5e6a (diff)
downloadrockbox-19d141a3eb3200a1d406452351092e0e81a4efd3.tar.gz
rockbox-19d141a3eb3200a1d406452351092e0e81a4efd3.zip
Fix USB detection on the Player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14615 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/sh/archos/player/usb-player.c')
-rw-r--r--firmware/target/sh/archos/player/usb-player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/sh/archos/player/usb-player.c b/firmware/target/sh/archos/player/usb-player.c
index e86003f2c2..1eb20051d4 100644
--- a/firmware/target/sh/archos/player/usb-player.c
+++ b/firmware/target/sh/archos/player/usb-player.c
@@ -24,7 +24,7 @@
int usb_detect(void)
{
- return (PADR & 0x8000) ? USB_INSERTED : USB_EXTRACTED;
+ return (PADR & 0x8000) ? USB_EXTRACTED : USB_INSERTED;
}
void usb_enable(bool on)