changeset 209:c79dd8f07fc5

l1_cust.c: Cust_get_ramp_tab() reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 Jun 2016 06:40:08 +0000
parents fe1846dee240
children 7f3182969aac
files chipsetsw/layer1/cust0/l1_cust.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/cust0/l1_cust.c	Wed Jun 08 06:30:56 2016 +0000
+++ b/chipsetsw/layer1/cust0/l1_cust.c	Wed Jun 08 06:40:08 2016 +0000
@@ -822,11 +822,10 @@
 
 void Cust_get_ramp_tab(API *a_ramp, UWORD8 txpwr_ramp_up, UWORD8 txpwr_ramp_down, UWORD16 radio_freq)
 {
-  UWORD16 index_up, index_down,j, arfcn;
+  UWORD16 index_up, index_down, j;
   UWORD8 band;
 
   band  = Cust_is_band_high(radio_freq);
-  arfcn = Convert_l1_radio_freq(radio_freq);
 
   index_up   = rf_band[band].tx.levels[txpwr_ramp_up].ramp_index;
   index_down = rf_band[band].tx.levels[txpwr_ramp_down].ramp_index;