diff gsm-fw/services/pcm/pcmdata.c @ 641:e60f51f747f5

PCM integration: pcmdata.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 03 Sep 2014 17:31:21 +0000
parents 0b5f226bfdf4
children c83d3346d4b9
line wrap: on
line diff
--- a/gsm-fw/services/pcm/pcmdata.c	Wed Sep 03 17:21:42 2014 +0000
+++ b/gsm-fw/services/pcm/pcmdata.c	Wed Sep 03 17:31:21 2014 +0000
@@ -18,18 +18,12 @@
 
 #define NEQ !=
 
-#ifndef TARGET
-  #include "ffs.cfg"
-#endif
+#include "../../include/config.h"
+#include "../../riviera/rv/general.h"
+#include "pcm.h" 
 
-#if (TARGET == 1)
-  #include "rv/general.h"
-  #include "swconfig.cfg"
-  #include "sys.cfg"
-#endif
-
-#include "ffs/pcm.h" 
-
+/* FreeCalypso configuration */
+#define	STD	6
 
 /*==== VARIABLES ==================================================*/
 /*
@@ -38,7 +32,7 @@
 
 UBYTE pcm_mem [PCM_SIZE];
 
-UBYTE std;
+UBYTE std = STD;
 // set treshold for initial power measurements (= -106 dBm)
 USHORT min_rxlev = 20;
 
@@ -626,5 +620,3 @@
   0xF1,   0xFF,   0xFF,   0xFF,   0xFF,   0xFF,   0xFF,   0xFF
         
 }; 
-
-