# HG changeset patch # User Mychaela Falconia # Date 1509264977 0 # Node ID 00332897676cf8abdd57676d5175bca77844d91a # Parent e530412d76b9adc98b51811f27afd522285f8dd8 l1p_sync.c: l1pddsp_meas_read() fixed diff -r e530412d76b9 -r 00332897676c chipsetsw/layer1/p_cfile/l1p_sync.c --- a/chipsetsw/layer1/p_cfile/l1p_sync.c Sun Oct 29 08:05:47 2017 +0000 +++ b/chipsetsw/layer1/p_cfile/l1p_sync.c Sun Oct 29 08:16:17 2017 +0000 @@ -126,7 +126,7 @@ /*-------------------------------------------------------*/ void l1ps_tcr_ctrl (UWORD8 pm_position); void l1pddsp_meas_ctrl (UWORD8 nbmeas, UWORD8 pm_pos); -void l1pddsp_meas_read (UWORD8 nbmeas, UWORD16 *pm_read); +void l1pddsp_meas_read (UWORD8 nbmeas, UWORD8 *pm_read); void l1pctl_transfer_agc_init(); UWORD8 l1pctl_pgc (UWORD8 pm, UWORD8 last_known_il, UWORD8 lna_off, UWORD16 radio_freq); void l1ps_bcch_meas_ctrl (UWORD8 ts); @@ -1723,7 +1723,7 @@ // A measure CTRL was performed 2 tdma earlier, read result now. { UWORD16 radio_freq_read; - UWORD16 pm_read[NB_MEAS_MAX_GPRS]; + UWORD8 pm_read[NB_MEAS_MAX_GPRS]; UWORD8 i; #define next_to_read l1pa_l1ps_com.cr_freq_list.next_to_read @@ -2402,7 +2402,7 @@ if(l1pa_l1ps_com.tcr_freq_list.ms_ctrl_dd != 0) { UWORD16 radio_freq_read; - UWORD16 pm_read; + UWORD8 pm_read; #if (TRACE_TYPE!=0) && (TRACE_TYPE!=5) trace_fct(CST_READ_TCR_MEAS, (UWORD32)(-1)); @@ -2581,7 +2581,7 @@ ((l1s.actual_time.t2 == 3) || (l1s.actual_time.t2 == 11) || (l1s.actual_time.t2 == 20))) { - UWORD16 pm_read; + UWORD8 pm_read; l1_check_com_mismatch(PC_MEAS_CHAN_ID);