FreeCalypso > hg > tcs211-l1-reconst
changeset 332:00332897676c
l1p_sync.c: l1pddsp_meas_read() fixed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 29 Oct 2017 08:16:17 +0000 |
parents | e530412d76b9 |
children | 7f0df37b785b |
files | chipsetsw/layer1/p_cfile/l1p_sync.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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);