changeset 333:7f0df37b785b

l1p_sync.c: fix for pm_read >> 5 shift
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 29 Oct 2017 08:29:06 +0000
parents 00332897676c
children 30427cc02e46
files chipsetsw/layer1/p_cfile/l1p_sync.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/p_cfile/l1p_sync.c	Sun Oct 29 08:16:17 2017 +0000
+++ b/chipsetsw/layer1/p_cfile/l1p_sync.c	Sun Oct 29 08:29:06 2017 +0000
@@ -1749,7 +1749,6 @@
         #endif
 
         l1_check_pm_error(pm_read[i], CR_MEAS_ID);
-	pm_read[i] = (pm_read[i] >> 5);
 
         // Get Input level corresponding to the used IL and pm result.
         IL_for_rxlev = l1pctl_pgc(((UWORD8)(pm_read[i])),
@@ -2418,7 +2417,6 @@
       l1pddsp_meas_read(l1pa_l1ps_com.tcr_freq_list.ms_ctrl_dd, &pm_read);
 
       l1_check_pm_error(pm_read, TCR_MEAS_ID);
-      pm_read = pm_read >> 5;
 
       radio_freq_read = l1pa_l1ps_com.cres_freq_list.alist->freq_list[tcr_next_to_read];
 
@@ -2598,7 +2596,6 @@
       #endif
 
       l1_check_pm_error(pm_read, PC_MEAS_CHAN_ID);
-      pm_read = pm_read >> 5;
 
       l1ps.pc_meas_chan_ctrl = FALSE;