changeset 331:e530412d76b9

l1p_sync.c passes compilation
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 29 Oct 2017 08:05:47 +0000
parents ac5dbb553f27
children 00332897676c
files chipsetsw/layer1/p_cfile/l1p_sync.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/p_cfile/l1p_sync.c	Sun Oct 29 07:54:00 2017 +0000
+++ b/chipsetsw/layer1/p_cfile/l1p_sync.c	Sun Oct 29 08:05:47 2017 +0000
@@ -106,11 +106,11 @@
   #include "l1p_mfta.h"
   #include "l1p_sign.h"
   #include "l1p_macr.h"
-  #include "l1p_proto.h"
 #endif
 
 #if(RF_FAM == 61)
-	#include "l1_rf61.h"
+  #include "l1_rf61.h"
+  #include "tpudrv61.h"
 #endif
 
 #if (GSM_IDLE_RAM !=0)
@@ -120,7 +120,7 @@
     #include "csmi_simul.h"
   #endif
 #endif
-#include "tpudrv61.h"
+
 /*-------------------------------------------------------*/
 /* Prototypes of external functions used in this file.   */
 /*-------------------------------------------------------*/
@@ -1913,7 +1913,7 @@
           // Get AGC according to the last known IL.
           input_level =  l1a_l1s_com.last_input_level[radio_freq_ctrl - l1_config.std.radio_freq_index_offset].input_level;
           lna_off = l1a_l1s_com.last_input_level[radio_freq_ctrl - l1_config.std.radio_freq_index_offset].lna_off;
-          agc     = Cust_get_agc_from_IL(radio_freq_ctrl,input_level >> 1, PWR_ID, lna_off);
+          agc     = Cust_get_agc_from_IL(radio_freq_ctrl,input_level >> 1, PWR_ID);
 
 
           // Memorize the IL and LNA used for AGC setting.
@@ -1931,7 +1931,7 @@
           lna_off = 
             l1a_l1s_com.last_input_level[operative_radio_freq].lna_off;
           agc     = 
-            Cust_get_agc_from_IL(radio_freq_ctrl,input_level >> 1, PWR_ID, lna_off);
+            Cust_get_agc_from_IL(radio_freq_ctrl,input_level >> 1, PWR_ID);
 
           // Memorize the IL and LNA used for AGC setting.
           //l1pa_l1ps_com.cr_freq_list.used_il_lna[i]  = l1a_l1s_com.last_input_level[radio_freq_ctrl - l1_config.std.radio_freq_index_offset];