diff gsm-fw/gpf/osl/os_tim_fl.c @ 481:5639b4fa8672

os_tim_{fl,ir}.c: use TMR_* constant definitions
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 29 Jun 2014 04:06:24 +0000
parents 9cacd09e8ef3
children 9d80090a9e0c
line wrap: on
line diff
--- a/gsm-fw/gpf/osl/os_tim_fl.c	Sun Jun 29 03:27:23 2014 +0000
+++ b/gsm-fw/gpf/osl/os_tim_fl.c	Sun Jun 29 04:06:24 2014 +0000
@@ -84,13 +84,13 @@
 	t_start_ticks = 0;
 	p_list[0] = 0;
 	for (i = 1; i < MaxSimultaneousTimer; i++) {
-		TimerTable[i].entry.status = 0;
+		TimerTable[i].entry.status = TMR_FREE;
 		TimerTable[i].entry.next = 0;
 		TimerTable[i].entry.prev = 0;
 		TimerTable[i].next_t_handle = i + 1;
 		p_list[i] = 0;
 	}
-	TimerTable[MaxSimultaneousTimer].entry.status = 0;
+	TimerTable[MaxSimultaneousTimer].entry.status = TMR_FREE;
 	TimerTable[MaxSimultaneousTimer].next_t_handle = 0;
 	t_running = 0;
 	return(OS_OK);