# HG changeset patch # User Michael Spacefalcon # Date 1403763310 0 # Node ID 6389bfe95f23c3e639900702ac1d6485d5c59290 # Parent aa9aec3ba43721cf4e0670ce6547c0a474d6be54 os_tim_ir.c: os_StartTimer(): polish diff -r aa9aec3ba437 -r 6389bfe95f23 gsm-fw/gpf/osl/os_tim_ir.c --- a/gsm-fw/gpf/osl/os_tim_ir.c Thu Jun 26 05:49:59 2014 +0000 +++ b/gsm-fw/gpf/osl/os_tim_ir.c Thu Jun 26 06:15:10 2014 +0000 @@ -213,9 +213,9 @@ } sts = NU_Obtain_Semaphore(&TimSemCB, NU_SUSPEND); - /* FIXME: not sure about this - if (sts != NU_SUCCESS) - os_MyHandle(sts); + /* Disassembly reveals this bogon in the original code: + if (sts != NU_SUCCESS) + os_MyHandle(); */ status = timer->status; if (status == 2) @@ -227,7 +227,8 @@ timer->p_ticks = TIME_TO_SYSTEM_TICKS(RescheduleTime); ticks = os_add_timer_to_list(timer, TIME_TO_SYSTEM_TICKS(InitialTime)); if (ticks) - NU_Reset_Timer(&os_timer_cb, os_Timeout, ticks, 0, NU_ENABLE_TIMER); + NU_Reset_Timer(&os_timer_cb, os_Timeout, ticks, 0, + NU_ENABLE_TIMER); if (sts == NU_SUCCESS) NU_Release_Semaphore(&TimSemCB); t_list_access = 0;