changeset 762:5767cb509546

sms_rl.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 11 Oct 2014 23:05:52 +0000
parents 55a84763c417
children 6a5dca88b619
files gsm-fw/g23m-gsm/sms/Makefile gsm-fw/g23m-gsm/sms/sms_rl.c
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/sms/Makefile	Sat Oct 11 23:00:04 2014 +0000
+++ b/gsm-fw/g23m-gsm/sms/Makefile	Sat Oct 11 23:05:52 2014 +0000
@@ -5,7 +5,7 @@
 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
 	-I../../cdginc
 
-OBJS=	sms_cp.o sms_csf.o sms_em.o sms_for.o sms_pei.o
+OBJS=	sms_cp.o sms_csf.o sms_em.o sms_for.o sms_pei.o sms_rl.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-gsm/sms/sms_rl.c	Sat Oct 11 23:00:04 2014 +0000
+++ b/gsm-fw/g23m-gsm/sms/sms_rl.c	Sat Oct 11 23:05:52 2014 +0000
@@ -22,6 +22,10 @@
 #ifndef SMS_RL_C
 #define SMS_RL_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_SMS
 
 /*==== INCLUDES ===================================================*/
@@ -248,7 +252,7 @@
              * This is done for Retransmission for the causes
              * listed in the table 8.4/3gPP TS 24.011(Part 1)
              */
-             if (SMS_INST.tl_retx < TL_MAX_RETANS)
+            if (SMS_INST.tl_retx < TL_MAX_RETANS)
             {             
               /* Check whether the cause value satisfies the one for retransmission 
                *  listed in the table 8.4/3gPP TS 24.011(Part 1)
@@ -309,7 +313,6 @@
           }
           break;
 
-
           default:
             TRACE_FUNCTION ("rl_data_ind(): default");