r2213 - trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src
mickey at sita.openmoko.org
mickey at sita.openmoko.org
Mon Jun 11 05:20:33 CEST 2007
Author: mickey
Date: 2007-06-11 05:20:28 +0200 (Mon, 11 Jun 2007)
New Revision: 2213
Modified:
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
Log:
openmoko-panel-mainmenu: remove (some) debug output
Modified: trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
===================================================================
--- trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c 2007-06-10 16:58:38 UTC (rev 2212)
+++ trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c 2007-06-11 03:20:28 UTC (rev 2213)
@@ -369,8 +369,6 @@
struct input_event event;
int size = read( g_io_channel_unix_get_fd( source ), &event, sizeof( struct input_event ) );
- g_debug( "read %d bytes from touchscreen_fd %d", size, g_io_channel_unix_get_fd( source ) );
- g_debug( "input event = ( %0x, %0x, %0x )", event.type, event.code, event.value );
if ( event.type == 1 && event.code == TOUCHSCREEN_BUTTON_KEYCODE )
{
@@ -429,9 +427,8 @@
{
g_debug( "mainmenu powersave timeout 1" );
//FIXME talk to neod
- //FIXME dim display
power_state = DISPLAY_DIM;
- panel_mainmenu_set_display( 50 );
+ panel_mainmenu_set_display( 25 );
return FALSE;
}
@@ -439,7 +436,6 @@
{
g_debug( "mainmenu powersave timeout 2" );
//FIXME talk to neod
- //FIXME turn off display
panel_mainmenu_set_display( 0 );
power_state = DISPLAY_OFF;
return FALSE;
More information about the commitlog
mailing list