From 81ae8fb2ff752f3f3c63fc05d660bb7b39810afd Mon Sep 17 00:00:00 2001
From: Raymond Knopp <raymond.knopp@eurecom.fr>
Date: Fri, 7 Oct 2016 23:41:51 -0700
Subject: [PATCH] cleaned up formatting of CCE table trace in
 eNB_scheduler_primitives.c

---
 openair2/LAYER2/MAC/eNB_scheduler_primitives.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/openair2/LAYER2/MAC/eNB_scheduler_primitives.c b/openair2/LAYER2/MAC/eNB_scheduler_primitives.c
index 605ff93f1..6198768b5 100644
--- a/openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+++ b/openair2/LAYER2/MAC/eNB_scheduler_primitives.c
@@ -1010,10 +1010,11 @@ void dump_CCE_table(int *CCE_table,const int nCCE,const unsigned short rnti,cons
   int nb_candidates = 0,i;
   unsigned int Yk;
   
+  printf("CCE 0: ");
   for (i=0;i<nCCE;i++) {
     printf("%1d.",CCE_table[i]);
-    if ((i&7) == 0)
-      printf("\n");
+    if ((i&7) == 7)
+      printf("\n CCE %d: ");
   }
 
   Yk = (unsigned int)rnti;
-- 
GitLab