# HG changeset patch # User Mychaela Falconia # Date 1459139545 0 # Node ID f2d3ee22dea70a44f2ca0245804d65678ed73fa6 # Parent f5bb8ea497cb4a9e6347c4ab78a1bc3a96ce43e2 l1_cmplx.c: l1s_hopping_algo() reconstructed diff -r f5bb8ea497cb -r f2d3ee22dea7 chipsetsw/layer1/cfile/l1_cmplx.c --- a/chipsetsw/layer1/cfile/l1_cmplx.c Mon Mar 28 04:08:54 2016 +0000 +++ b/chipsetsw/layer1/cfile/l1_cmplx.c Mon Mar 28 04:32:25 2016 +0000 @@ -6089,7 +6089,11 @@ // To review (is there any better solution?)........... next_neighbor_time_fn = l1s.next_time.fn + l1pa_l1ps_com.pbcchn.fn_offset; + #if 0 /* correct code (corrected by TI for LoCosto) */ if (next_neighbor_time_fn > ((WORD32)MAX_FN))//OMAPS00090550 + #else /* wrong code to match TCS211 disassembly */ + if (next_neighbor_time_fn > MAX_FN) + #endif next_neighbor_time.fn = (UWORD32) (next_neighbor_time_fn - MAX_FN); else if (next_neighbor_time_fn < 0) next_neighbor_time.fn = (UWORD32) (next_neighbor_time_fn + MAX_FN); @@ -6180,7 +6184,7 @@ UWORD8 i = 0; UWORD8 m; UWORD8 mp; - UWORD8 nbin =0; //omaps00090550 + UWORD8 nbin; UWORD8 tp; UWORD8 s; UWORD8 t1r = (UWORD8)(time_ptr->t1 % 64);