fixing a bug when -d option is not used in nr-uesoftmodem
This commit is contained in:
+15
-6
@@ -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) {
|
|||||||
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--;
|
||||||
|
|||||||
Reference in New Issue
Block a user