[prev in list] [next in list] [prev in thread] [next in thread]
List: rockbox-cvs
Subject: zagor: r19616 - trunk/firmware/target/arm/as3525
From: mailer () svn ! rockbox ! org
Date: 2008-12-30 21:56:23
Message-ID: 200812302156.mBULuNx9006513 () giant ! haxx ! se
[Download RAW message or body]
Date: 2008-12-30 22:56:23 +0100 (Tue, 30 Dec 2008)
New Revision: 19616
Log Message:
Fixed m200v4 red build.
Modified:
trunk/firmware/target/arm/as3525/usb-as3525.c
Modified: trunk/firmware/target/arm/as3525/usb-as3525.c
===================================================================
--- trunk/firmware/target/arm/as3525/usb-as3525.c 2008-12-30 21:17:43 UTC (rev 19615)
+++ trunk/firmware/target/arm/as3525/usb-as3525.c 2008-12-30 21:56:23 UTC (rev 19616)
@@ -41,13 +41,17 @@
void usb_init_device(void)
{
+#ifdef USB_DETECT_PIN
GPIOA_DIR &= ~(1 << USB_DETECT_PIN); /* set as input */
+#endif
}
int usb_detect(void)
{
+#ifdef USB_DETECT_PIN
if (GPIOA_PIN( USB_DETECT_PIN ))
return USB_INSERTED;
else
+#endif
return USB_EXTRACTED;
}
_______________________________________________
rockbox-cvs mailing list
rockbox-cvs@cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic