changeset 328:2604e9569e31

l1p_func.c: l1ps_tcr_ctrl() reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 04 Oct 2017 22:50:34 +0000
parents 294adc9e1d3c
children 6d27bbc94e3c
files chipsetsw/layer1/p_cfile/l1p_func.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/p_cfile/l1p_func.c	Wed Oct 04 22:46:22 2017 +0000
+++ b/chipsetsw/layer1/p_cfile/l1p_func.c	Wed Oct 04 22:50:34 2017 +0000
@@ -370,8 +370,8 @@
   // 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;
+  agc     = Cust_get_agc_from_IL(radio_freq_ctrl, input_level >> 1, PWR_ID);
   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);
 
    #if (RF_FAM == 61) // Locosto DCO
       #if (PWMEAS_IF_MODE_FORCE == 0)