Ignore:
Timestamp:
02/10/08 16:09:16 (5 years ago)
Author:
mickey
Message:

neod: revert to using g_timeout_add for the button timeout. add_seconds may add too much latency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c

    r3984 r4040  
    329329                { 
    330330                    if ( moko_debug ) g_debug( "triggering aux timer" ); 
    331                     aux_timer = g_timeout_add_seconds( 1, (GSourceFunc) neod_buttonactions_aux_timeout, (gpointer)1 ); 
     331                    aux_timer = g_timeout_add( 1000, (GSourceFunc) neod_buttonactions_aux_timeout, (gpointer)1 ); 
    332332                } 
    333333                else if ( event.value == 0 ) /* released */ 
     
    348348                { 
    349349                    if ( moko_debug ) g_debug( "triggering power timer" ); 
    350                     power_timer = g_timeout_add_seconds( 1, (GSourceFunc) neod_buttonactions_power_timeout, (gpointer)1 ); 
     350                    power_timer = g_timeout_add( 1000, (GSourceFunc) neod_buttonactions_power_timeout, (gpointer)1 ); 
    351351                } 
    352352                else if ( event.value == 0 ) /* released */ 
Note: See TracChangeset for help on using the changeset viewer.