changeset 161:325234bc6ee2

l1_trace.c: Trace_Packet_Transfer() reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 06 Jun 2016 21:24:14 +0000
parents fb47e34859c0
children 06e309c63fd4
files chipsetsw/layer1/cfile/l1_trace.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/cfile/l1_trace.c	Mon Jun 06 21:12:04 2016 +0000
+++ b/chipsetsw/layer1/cfile/l1_trace.c	Mon Jun 06 21:24:14 2016 +0000
@@ -6572,7 +6572,7 @@
 
   ((T_TRACE_INFO *)(msg->SigP))->debug_code = L1S_PACKET_TRANSFER;
 
-  switch(l1s.actual_time.fn_mod52)
+  switch(l1s.actual_time.fn % 52)
   {
     case 4: ((T_TRACE_INFO *)(msg->SigP))->tab[0]  = 0;  break;
     case 8: ((T_TRACE_INFO *)(msg->SigP))->tab[0]  = 1;  break;