Commit f5d6aa4c authored by Francesco Mani's avatar Francesco Mani
Browse files

fix on pbchsim without -I

parent 43a98185
......@@ -173,7 +173,6 @@ int nr_slot_fep(PHY_VARS_NR_UE *ue,
} else {
rx_offset += (frame_parms->ofdm_symbol_size+nb_prefix_samples)*symbol;
// + (frame_parms->ofdm_symbol_size+nb_prefix_samples)*(l-1);
if (rx_offset > (frame_length_samples - frame_parms->ofdm_symbol_size))
memcpy((void *) &(rxdata[aa][frame_length_samples]),
(void *) &(rxdata[aa][0]),
......
......@@ -605,6 +605,7 @@ int main(int argc, char **argv)
if (ret<0) n_errors++;
}
else {
UE->common_vars.rxdata = UE->common_vars.rxdata_is;
UE->rx_offset=0;
uint8_t ssb_index = 0;
while (!((SSB_positions >> ssb_index) & 0x01)) ssb_index++; // to select the first transmitted ssb
......
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