FreeCalypso > hg > tcs211-l1-reconst
changeset 334:30427cc02e46
l1p_sync.c: XIP code reconstructed, l1p_sync.obj matches TCS211 original
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 29 Oct 2017 09:12:34 +0000 |
parents | 7f0df37b785b |
children | e57ad7d45ea4 |
files | chipsetsw/layer1/p_cfile/l1p_sync.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/chipsetsw/layer1/p_cfile/l1p_sync.c Sun Oct 29 08:29:06 2017 +0000 +++ b/chipsetsw/layer1/p_cfile/l1p_sync.c Sun Oct 29 09:12:34 2017 +0000 @@ -1472,6 +1472,7 @@ static WORD8 remain_carrier; static UWORD8 nbr_meas; static BOOL schedule_trigger; + static xSignalHeaderRec *cr_msg = NULL; static WORD16 time_to_wake_up; static WORD16 time_to_4s; static WORD16 time_to_1s; @@ -1481,8 +1482,6 @@ static UWORD8 state; static UWORD32 reporting_period; // Parameter used in "reporting_period" computation - static xSignalHeaderRec *cr_msg = NULL; - #if (FF_L1_FAST_DECODING == 1) if (l1a_apihisr_com.fast_decoding.deferred_control_req == TRUE) { @@ -1911,8 +1910,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); // Memorize the IL and LNA used for AGC setting. @@ -1943,7 +1942,7 @@ #if (TRACE_TYPE!=0) && (TRACE_TYPE!=5) - trace_fct(CST_CTRL_CR_MEAS, 1);//OMAPS00090550 + trace_fct(CST_CTRL_CR_MEAS, -1); #endif #if(RF_FAM == 61) // Locosto DCO