Change Assert condition to allow configuration when in PNF mode.

This commit is contained in:
Rúben Soares Silva
2025-01-22 18:29:55 +01:00
committed by Robert Schmidt
parent e0aaa8fa5e
commit c910d9f71f
+1 -1
View File
@@ -2202,7 +2202,7 @@ void NRRCConfig(void)
// Set num of gNBs instances
RC.nb_nr_inst = GNBSParams[GNB_ACTIVE_GNBS_IDX].numelt;
AssertFatal(RC.nb_nr_inst == NUMBER_OF_gNB_MAX,
AssertFatal(RC.nb_nr_inst <= NUMBER_OF_gNB_MAX,
"Configuration error: RC.nb_nr_inst (%d) must equal NUMBER_OF_gNB_MAX (%d).\n"
"Currently, only one instance of each layer (L1, L2, L3) is supported.\n"
"Ensure that nb_nr_inst matches the maximum allowed gNB instances in this configuration.",