# HG changeset patch
# User Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
# Date 1407172838 0
# Node ID 3bb11261b9fe3d9e8df5521993516bfe0a089e6c
# Parent  b3549e06db7e79cf2f089898f238132c9e5fbf48
L1: started work on l1_func.c

diff -r b3549e06db7e -r 3bb11261b9fe gsm-fw/L1/cfile/Makefile
--- a/gsm-fw/L1/cfile/Makefile	Mon Aug 04 05:54:50 2014 +0000
+++ b/gsm-fw/L1/cfile/Makefile	Mon Aug 04 17:20:38 2014 +0000
@@ -1,6 +1,7 @@
 CC=	arm-elf-gcc
 CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \
-	-I../tm_include -I../tm_cust0 -I../tpudrv -DMOVE_IN_INTERNAL_RAM
+	-I../tm_include -I../tm_cust0 -I../cust0 -I../tpudrv \
+	-DMOVE_IN_INTERNAL_RAM
 CFLAGS=	-O2 -fno-builtin -mthumb-interwork
 LD=	arm-elf-ld
 INTSED=	../intram.sed
diff -r b3549e06db7e -r 3bb11261b9fe gsm-fw/L1/cfile/l1_func.c
--- a/gsm-fw/L1/cfile/l1_func.c	Mon Aug 04 05:54:50 2014 +0000
+++ b/gsm-fw/L1/cfile/l1_func.c	Mon Aug 04 17:20:38 2014 +0000
@@ -9,8 +9,9 @@
 
 #define  L1_FUNC_C
 
+#include "config.h"
+#include "l1_confg.h"
 #include "l1_macro.h"
-#include "l1_confg.h"
 
 #if (CODE_VERSION == SIMULATION)
   #include <string.h>
@@ -72,7 +73,11 @@
   #include "l1_types.h"
   #include "sys_types.h"
   #include "l1_const.h"
-  #include "l1_rf61.h"
+  #if (RF_FAM == 12)
+    #include "l1_rf12.h"
+  #elif (RF_FAM == 61)
+    #include "l1_rf61.h"
+  #endif
   #include "l1_time.h"
   #include "l1_signa.h"
 
@@ -99,7 +104,7 @@
     #include "l1aac_defty.h"
   #endif
   #include "l1_defty.h"
-  #include "cust_os.h"
+  #include "../../gpf/inc/cust_os.h"
   #include "l1_msgty.h"
   #include "l1_varex.h"
   #include "l1_proto.h"