FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/osl/os_tim_ir.c @ 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 |
comparison
equal
deleted
inserted
replaced
469:5031958cea52 | 470:81b941dd415d |
---|---|
259 GLOBAL LONG os_IncrementTick(OS_TICK ticks) | 259 GLOBAL LONG os_IncrementTick(OS_TICK ticks) |
260 { | 260 { |
261 return OS_OK; | 261 return OS_OK; |
262 } | 262 } |
263 | 263 |
264 /* FIXME: TaskHandle is unused?! */ | |
265 GLOBAL LONG os_DestroyTimer(OS_HANDLE TaskHandle, OS_HANDLE TimerHandle) | 264 GLOBAL LONG os_DestroyTimer(OS_HANDLE TaskHandle, OS_HANDLE TimerHandle) |
265 /* TaskHandle argument is unused */ | |
266 { | 266 { |
267 STATUS sts; | 267 STATUS sts; |
268 T_OS_TIMER_ENTRY *timer_e; | 268 T_OS_TIMER_ENTRY *timer_e; |
269 | 269 |
270 t_list_access = 1; | 270 t_list_access = 1; |
275 NU_Release_Semaphore(&TimSemCB); | 275 NU_Release_Semaphore(&TimSemCB); |
276 t_list_access = 0; | 276 t_list_access = 0; |
277 return OS_ERROR; | 277 return OS_ERROR; |
278 } | 278 } |
279 timer_e->next_t_handle = next_t_handle; | 279 timer_e->next_t_handle = next_t_handle; |
280 next_t_handle = TimerHandle; | |
280 timer_e->entry.status = 0; | 281 timer_e->entry.status = 0; |
281 used_timers--; | 282 used_timers--; |
282 t_list_access = 0; | 283 t_list_access = 0; |
283 if (sts == NU_SUCCESS) | 284 if (sts == NU_SUCCESS) |
284 NU_Release_Semaphore(&TimSemCB); | 285 NU_Release_Semaphore(&TimSemCB); |