FreeCalypso > hg > freecalypso-sw
changeset 470:81b941dd415d
os_tim_ir.c: os_DestroyTimer(): missed assignment line
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 26 Jun 2014 06:41:54 +0000 |
parents | 5031958cea52 |
children | c8b5a8e84ef7 |
files | gsm-fw/gpf/osl/os_tim_ir.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/gpf/osl/os_tim_ir.c Thu Jun 26 06:32:38 2014 +0000 +++ b/gsm-fw/gpf/osl/os_tim_ir.c Thu Jun 26 06:41:54 2014 +0000 @@ -261,8 +261,8 @@ return OS_OK; } -/* FIXME: TaskHandle is unused?! */ GLOBAL LONG os_DestroyTimer(OS_HANDLE TaskHandle, OS_HANDLE TimerHandle) + /* TaskHandle argument is unused */ { STATUS sts; T_OS_TIMER_ENTRY *timer_e; @@ -277,6 +277,7 @@ return OS_ERROR; } timer_e->next_t_handle = next_t_handle; + next_t_handle = TimerHandle; timer_e->entry.status = 0; used_timers--; t_list_access = 0;