changeset 34:3f232030c354

enable LCD backlight (IO1) in armio.c
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 04 Nov 2015 05:41:09 +0000
parents f1ffea823c18
children 2071211e5d1a
files chipsetsw/drivers/drv_core/armio/armio.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/drivers/drv_core/armio/armio.c	Wed Nov 04 05:37:35 2015 +0000
+++ b/chipsetsw/drivers/drv_core/armio/armio.c	Wed Nov 04 05:41:09 2015 +0000
@@ -233,8 +233,8 @@
 
   /* same minimal config as OsmocomBB and FreeCalypso for now */
 
-  /* GPIO out all zeros */
-  *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x0000;
+  /* GPIO out all zeros, except for IO1 enabling the LCD backlight */
+  *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x0002;
   /* make GPIOs 1 and 3 outputs */
   AI_ConfigBitAsOutput(1);
   AI_ConfigBitAsOutput(3);