Commit 523f8f21 authored by Roberto Louro Magueta's avatar Roberto Louro Magueta

Put pilot_cnt++ in the right place

parent 8ba0f2f0
...@@ -252,7 +252,6 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB, ...@@ -252,7 +252,6 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
// Channel interpolation // Channel interpolation
for (int k_line = 0; k_line <= 1; k_line++) { for (int k_line = 0; k_line <= 1; k_line++) {
pilot_cnt++;
#ifdef DEBUG_PUSCH #ifdef DEBUG_PUSCH
re_offset = (k0 + (n << 2) + (k_line << 1)) % gNB->frame_parms.ofdm_symbol_size; re_offset = (k0 + (n << 2) + (k_line << 1)) % gNB->frame_parms.ofdm_symbol_size;
rxF = (int16_t *) &rxdataF[aarx][(soffset + symbol_offset + re_offset)]; rxF = (int16_t *) &rxdataF[aarx][(soffset + symbol_offset + re_offset)];
...@@ -275,6 +274,7 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB, ...@@ -275,6 +274,7 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
} else { } else {
multadd_real_vector_complex_scalar(fm, ch, ul_ch, 8); multadd_real_vector_complex_scalar(fm, ch, ul_ch, 8);
} }
pilot_cnt++;
} }
} }
......
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