changeset 746:3385558575ea

rr_tim.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 05 Oct 2014 22:53:42 +0000
parents 74cfa6727aa3
children 3f9566c41e67
files gsm-fw/g23m-gsm/rr/Makefile gsm-fw/g23m-gsm/rr/rr_tim.c
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/rr/Makefile	Sun Oct 05 22:38:19 2014 +0000
+++ b/gsm-fw/g23m-gsm/rr/Makefile	Sun Oct 05 22:53:42 2014 +0000
@@ -6,7 +6,8 @@
 	-I../../cdginc
 
 OBJS=	rr_attf.o rr_attp.o rr_atts.o rr_cs.o rr_csf.o rr_datf.o rr_datp.o \
-	rr_dats.o rr_em.o rr_forf.o rr_forp.o rr_fors.o rr_pei.o rr_srv.o
+	rr_dats.o rr_em.o rr_forf.o rr_forp.o rr_fors.o rr_pei.o rr_srv.o \
+	rr_tim.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-gsm/rr/rr_tim.c	Sun Oct 05 22:38:19 2014 +0000
+++ b/gsm-fw/g23m-gsm/rr/rr_tim.c	Sun Oct 05 22:53:42 2014 +0000
@@ -22,6 +22,10 @@
 #ifndef RR_TIM_C
 #define RR_TIM_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_RR
 
 /*==== INCLUDES ===================================================*/
@@ -814,7 +818,6 @@
           }
           else
           {
-
             rr_data->ms_data.reg_time_gap = 0;
 
             /* Perform Non-Parallel search every >= 2min */
@@ -1006,7 +1009,7 @@
     /*
      * start physical periodically timer.
      */
-        TIMER_PSTART (rr_handle, TNNN, ONE_SEC, ONE_SEC);
+    TIMER_PSTART (rr_handle, TNNN, ONE_SEC, ONE_SEC);
   }
 
   /* set the new timer counter */
@@ -1225,7 +1228,6 @@
     trace_timer (index, value);
     rr_data->t_running[index] = 1;
     TIMER_START (rr_handle, index, value);
-   
   }
 }