Update of /cvsroot/blob/blob/src/blob
In directory usw-pr-cvs1:/tmp/cvs-serv31782/src/blob
Modified Files:
idr.c
Log Message:
backlight hack
Index: idr.c
===================================================================
RCS file: /cvsroot/blob/blob/src/blob/idr.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- idr.c 27 Jan 2002 09:06:18 -0000 1.7
+++ idr.c 11 Feb 2002 22:46:53 -0000 1.8
@@ -92,12 +92,12 @@
PA_DWR |= GPIO_GPIO2;
/*
- * for debug, we turn the backlight on here
+ * for debug, we turn the backlight on and off here
*/
PA_DDR &= ~GPIO_GPIO3;
- PA_DWR |= GPIO_GPIO3;
#if 0
- /* off reboots the machine, don't know why */
+ /* reboots the machine, if no battery is connected */
+ PA_DWR |= GPIO_GPIO3;
msleep(1000);
PA_DWR &= ~GPIO_GPIO3;
#endif
|