diff --git a/common/openairinterface5g_limits.h b/common/openairinterface5g_limits.h index f420722350f8163fd2bce6a23e696e04ce258c2e..2349941cf232324aaf7cdc951038d1dca167261a 100644 --- a/common/openairinterface5g_limits.h +++ b/common/openairinterface5g_limits.h @@ -27,7 +27,6 @@ # ifndef PHYSIM # ifndef UE_EXPANSION # define NUMBER_OF_UE_MAX 40 -# define NUMBER_OF_NR_UE_MAX 4 # define NUMBER_OF_CONNECTED_eNB_MAX 1 # define NUMBER_OF_CONNECTED_gNB_MAX 1 # else @@ -37,7 +36,6 @@ # endif # else # define NUMBER_OF_UE_MAX 4 -# define NUMBER_OF_NR_UE_MAX 4 # define NUMBER_OF_CONNECTED_eNB_MAX 1 # define NUMBER_OF_CONNECTED_gNB_MAX 1 # endif diff --git a/openair1/SIMULATION/NR_PHY/ulsim.c b/openair1/SIMULATION/NR_PHY/ulsim.c index 631ef803d91389d5e0985f142e083febb97f5315..315fa9a013b8660f144865cac149c6b9407fc554 100644 --- a/openair1/SIMULATION/NR_PHY/ulsim.c +++ b/openair1/SIMULATION/NR_PHY/ulsim.c @@ -308,7 +308,7 @@ int main(int argc, char **argv) int tx_offset; int32_t txlev_sum = 0, atxlev[4]; int start_rb = 0; - int UE_id =0; // [hna] only works for UE_id = 0 because NUMBER_OF_NR_UE_MAX is set to 1 (phy_init_nr_gNB causes segmentation fault) + int UE_id = 0; int print_perf = 0; cpuf = get_cpu_freq_GHz(); int msg3_flag = 0;