FreeCalypso > hg > tcs211-l1-reconst
changeset 71:f2d3ee22dea7
l1_cmplx.c: l1s_hopping_algo() reconstructed
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 28 Mar 2016 04:32:25 +0000 |
parents | f5bb8ea497cb |
children | 43a6f6b32440 |
files | chipsetsw/layer1/cfile/l1_cmplx.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);