SRSUE: Fixed UL channel emulator

This commit is contained in:
Xavier Arteaga 2019-06-05 18:08:59 +02:00 committed by Xavier Arteaga
parent 1f4cf8121b
commit 41d388dbaf
1 changed files with 2 additions and 1 deletions

View File

@ -583,7 +583,8 @@ void phy_common::worker_end(uint32_t tti,
if (!is_first_of_burst[i]) { if (!is_first_of_burst[i]) {
if (ul_channel && !srslte_timestamp_iszero(&tx_time[i])) { if (ul_channel && !srslte_timestamp_iszero(&tx_time[i])) {
ul_channel->run(buffer[i], buffer[i], nof_samples[i], tx_time[i]); bzero(zeros_multi[0], sizeof(cf_t) * nof_samples[i]);
ul_channel->run(zeros_multi, zeros_multi, nof_samples[i], tx_time[i]);
} }
radio_h->tx(i, zeros_multi, nof_samples[i], tx_time[i]); radio_h->tx(i, zeros_multi, nof_samples[i], tx_time[i]);