From 469afa4bb642c0ad2fa6b19087b15ea26fd682d9 Mon Sep 17 00:00:00 2001 From: Florian Kaltenberger Date: Mon, 12 Aug 2019 23:47:51 +0200 Subject: [PATCH] removing #ifdef XFORMS from nr-uesoftmodem.c --- executables/nr-uesoftmodem.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/executables/nr-uesoftmodem.c b/executables/nr-uesoftmodem.c index 9482ea3956..8a002d439c 100644 --- a/executables/nr-uesoftmodem.c +++ b/executables/nr-uesoftmodem.c @@ -75,7 +75,6 @@ unsigned short config_frames[4] = {2,9,11,13}; #include #include -#ifdef XFORMS #include /* Callbacks, globals and object handlers */ @@ -103,9 +102,8 @@ FD_phy_scope_nrue *form_nrue[NUMBER_OF_UE_MAX]; //FD_lte_phy_scope_enb *form_enb[MAX_NUM_CCs][NUMBER_OF_UE_MAX]; //FD_stats_form *form_stats=NULL,*form_stats_l2=NULL; char title[255]; -unsigned char scope_enb_num_ue = 2; static pthread_t forms_thread; //xforms -#endif //XFORMS + #include RAN_CONTEXT_t RC; @@ -292,8 +290,6 @@ void exit_function(const char *file, const char *function, const int line, const itti_terminate_tasks (TASK_UNKNOWN); } -#ifdef XFORMS - void reset_stats(FL_OBJECT *button, long arg) { //int i,j,k; @@ -337,10 +333,9 @@ static void *scope_thread(void *arg) { pthread_exit((void *)arg); } -#endif + void init_scope(void) { -#ifdef XFORMS int fl_argc=1; if (do_forms==1) { @@ -353,7 +348,6 @@ void init_scope(void) { threadCreate(&forms_thread, scope_thread, NULL, "scope", -1, OAI_PRIORITY_RT_LOW); } -#endif }