From 42f97a9e3f41903421f9057a5def0f077df272a6 Mon Sep 17 00:00:00 2001 From: Navid Nikaein Date: Sun, 16 Mar 2014 21:54:41 +0000 Subject: [PATCH] * fix the compilation errors when PRINT_STATS flag is set git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5175 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/SIMU/USER/oaisim.c | 84 +++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/targets/SIMU/USER/oaisim.c b/targets/SIMU/USER/oaisim.c index f05356a941..aa51ef6380 100644 --- a/targets/SIMU/USER/oaisim.c +++ b/targets/SIMU/USER/oaisim.c @@ -418,49 +418,49 @@ void *l2l1_task(void *args_p) { #ifdef XFORMS xargv[0] = xname; fl_initialize (&xargc, xargv, NULL, 0, 0); - eNB_id = 0; - for (UE_id = 0; UE_id < NB_UE_INST; UE_id++) { + eNB_inst = 0; + for (UE_inst = 0; UE_inst < NB_UE_INST; UE_inst++) { // DL scope at UEs - form_ue[UE_id] = create_lte_phy_scope_ue(); - sprintf (title, "LTE DL SCOPE eNB %d to UE %d", eNB_id, UE_id); - fl_show_form (form_ue[UE_id]->lte_phy_scope_ue, FL_PLACE_HOTSPOT, FL_FULLBORDER, title); + form_ue[UE_inst] = create_lte_phy_scope_ue(); + sprintf (title, "LTE DL SCOPE eNB %d to UE %d", eNB_inst, UE_inst); + fl_show_form (form_ue[UE_inst]->lte_phy_scope_ue, FL_PLACE_HOTSPOT, FL_FULLBORDER, title); // UL scope at eNB 0 - form_enb[UE_id] = create_lte_phy_scope_enb(); - sprintf (title, "LTE UL SCOPE UE %d to eNB %d", UE_id, eNB_id); - fl_show_form (form_enb[UE_id]->lte_phy_scope_enb, FL_PLACE_HOTSPOT, FL_FULLBORDER, title); + form_enb[UE_inst] = create_lte_phy_scope_enb(); + sprintf (title, "LTE UL SCOPE UE %d to eNB %d", UE_inst, eNB_inst); + fl_show_form (form_enb[UE_inst]->lte_phy_scope_enb, FL_PLACE_HOTSPOT, FL_FULLBORDER, title); if (openair_daq_vars.use_ia_receiver == 1) { - fl_set_button(form_ue[UE_id]->button_0,1); - fl_set_object_label(form_ue[UE_id]->button_0, "IA Receiver ON"); - fl_set_object_color(form_ue[UE_id]->button_0, FL_GREEN, FL_GREEN); + fl_set_button(form_ue[UE_inst]->button_0,1); + fl_set_object_label(form_ue[UE_inst]->button_0, "IA Receiver ON"); + fl_set_object_color(form_ue[UE_inst]->button_0, FL_GREEN, FL_GREEN); } } #endif #ifdef PRINT_STATS - for (UE_id=0;UE_id