summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/usb-as3525.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-04-03 05:45:44 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-04-03 05:45:44 +0000
commit1c67444ed3b4bfb6abc189f7e14dff8c615005b7 (patch)
tree1c87e24603edbe5fb7a8f15f077fc71103513a33 /firmware/target/arm/as3525/usb-as3525.c
parent722be53bf9f8cb39076b48b1cb8b3eaede047546 (diff)
Clipv2: reboot to OF when USB is inserted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25447 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/usb-as3525.c')
-rw-r--r--firmware/target/arm/as3525/usb-as3525.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/usb-as3525.c b/firmware/target/arm/as3525/usb-as3525.c
index 088b635104..8bde82faf5 100644
--- a/firmware/target/arm/as3525/usb-as3525.c
+++ b/firmware/target/arm/as3525/usb-as3525.c
@@ -32,8 +32,10 @@
#if CONFIG_CPU == AS3525
static int usb_status = USB_EXTRACTED;
#else
-#ifdef SANSA_FUZEV2
+#if defined(SANSA_FUZEV2)
#define USB_DETECT_PIN 3
+#elif defined(SANSA_CLIPV2)
+#define USB_DETECT_PIN 6
#endif
#endif