changeset 679:a2a65fdc1a99

alr_em.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 29 Sep 2014 16:23:20 +0000
parents a7865809c863
children 04d1b20eb7b0
files gsm-fw/g23m-gsm/alr/Makefile gsm-fw/g23m-gsm/alr/alr_em.c
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/alr/Makefile	Mon Sep 29 05:51:26 2014 +0000
+++ b/gsm-fw/g23m-gsm/alr/Makefile	Mon Sep 29 16:23:20 2014 +0000
@@ -5,7 +5,7 @@
 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
 	-I../../cdginc
 
-OBJS=	alr_cbch.o alr_cs.o alr_csf.o alr_dedi.o
+OBJS=	alr_cbch.o alr_cs.o alr_csf.o alr_dedi.o alr_em.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-gsm/alr/alr_em.c	Mon Sep 29 05:51:26 2014 +0000
+++ b/gsm-fw/g23m-gsm/alr/alr_em.c	Mon Sep 29 16:23:20 2014 +0000
@@ -23,6 +23,10 @@
 #ifndef ALR_EM_C
 #define ALR_EM_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_PL
 
 /*==== INCLUDES ===================================================*/
@@ -48,7 +52,7 @@
 #include "alr_gprs.h"
 #endif
 
-#ifdef GPRS
+#if 0 //#ifdef GPRS
 #ifdef _TARGET_
 #include "inth/iq.h"
 #endif
@@ -326,7 +330,7 @@
   if (sem_EM_L1 NEQ VSI_ERROR)
     em_l1_sem_clear ();
   else
-    SYST_TRACE ("D1:canīt open semaphore \"EM_D1_SEM\"");
+    SYST_TRACE ("D1:can't open semaphore \"EM_D1_SEM\"");
 }
 
 /*
@@ -507,9 +511,6 @@
 
 /* Implements Measure#32: Row 56 */
     TRACE_EVENT ("semaphore error");
-
-
-
   }
 }