r2746 - trunk/src/target/OM-2007.2/daemons/neod/src

mickey at sita.openmoko.org mickey at sita.openmoko.org
Mon Aug 20 14:44:48 CEST 2007


Author: mickey
Date: 2007-08-20 14:44:48 +0200 (Mon, 20 Aug 2007)
New Revision: 2746

Modified:
   trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c
Log:
neod: reset display brightness on power/aux button press


Modified: trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c
===================================================================
--- trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c	2007-08-19 22:25:21 UTC (rev 2745)
+++ trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c	2007-08-20 12:44:48 UTC (rev 2746)
@@ -320,6 +320,7 @@
 
     neod_buttonactions_sound_play( "touchscreen" );
     neod_buttonactions_powersave_reset();
+    neod_buttonactions_set_display( 100 );
 
     aux_timer = -1;
     if ( timeout < 1 )
@@ -455,6 +456,7 @@
 
     neod_buttonactions_sound_play( "touchscreen" );
     neod_buttonactions_powersave_reset();
+    neod_buttonactions_set_display( 100 );
 
     power_timer = -1;
     if ( timeout < 1 )





More information about the commitlog mailing list