Change init_eNB_afterRU to configure L1 according to proper amount.

Now uses RC.nb_nr_L1_inst instead of RC.nb_nr_inst in order to configure the L1, since in PNF RC.nb_nr_inst is always 0, and so, it wouldn't configure the L1
This commit is contained in:
Rúben Soares Silva
2024-11-22 10:42:22 +00:00
committed by Robert Schmidt
parent c910d9f71f
commit 90435ccba8

View File

@@ -393,7 +393,7 @@ void init_eNB_afterRU(void) {
int inst,ru_id,i,aa;
PHY_VARS_gNB *gNB;
for (inst=0; inst<RC.nb_nr_inst; inst++) {
for (inst=0; inst<RC.nb_nr_L1_inst; inst++) {
gNB = RC.gNB[inst];
phy_init_nr_gNB(gNB);