Commit 737ad46a authored by Florian Kaltenberger's avatar Florian Kaltenberger

fixing a bug when -d option is not used in nr-uesoftmodem

parent 927c3102
...@@ -59,8 +59,13 @@ ...@@ -59,8 +59,13 @@
#include "T.h" #include "T.h"
#ifdef XFORMS
#include "PHY/TOOLS/nr_phy_scope.h" #include "PHY/TOOLS/nr_phy_scope.h"
extern char do_forms;
#endif
extern double cpuf; extern double cpuf;
//static nfapi_nr_config_request_t config_t; //static nfapi_nr_config_request_t config_t;
//static nfapi_nr_config_request_t* config =&config_t; //static nfapi_nr_config_request_t* config =&config_t;
...@@ -589,12 +594,16 @@ static void *UE_thread_synch(void *arg) { ...@@ -589,12 +594,16 @@ static void *UE_thread_synch(void *arg) {
break; break;
} }
extern FD_lte_phy_scope_ue *form_ue[NUMBER_OF_UE_MAX]; #ifdef XFORMS
if (do_forms) {
phy_scope_UE(form_ue[0], extern FD_lte_phy_scope_ue *form_ue[NUMBER_OF_UE_MAX];
PHY_vars_UE_g[0][0],
0,0,7); phy_scope_UE(form_ue[0],
PHY_vars_UE_g[0][0],
0,0,7);
}
#endif
AssertFatal ( 0== pthread_mutex_lock(&UE->proc.mutex_synch), ""); AssertFatal ( 0== pthread_mutex_lock(&UE->proc.mutex_synch), "");
// indicate readiness // indicate readiness
UE->proc.instance_cnt_synch--; UE->proc.instance_cnt_synch--;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment