mirror of https://github.com/PentHertz/srsLTE.git
SRSUE: Zero transmit buffer if the slot is not UL
This commit is contained in:
parent
1153555ae1
commit
ddfff3edad
|
@ -271,6 +271,8 @@ bool cc_worker::work_ul()
|
||||||
{
|
{
|
||||||
// Check if it is a DL slot, if not skip
|
// Check if it is a DL slot, if not skip
|
||||||
if (!srslte_tdd_nr_is_ul(&phy->cfg.tdd, 0, ul_slot_cfg.idx)) {
|
if (!srslte_tdd_nr_is_ul(&phy->cfg.tdd, 0, ul_slot_cfg.idx)) {
|
||||||
|
// No NR signal shall be transmitted
|
||||||
|
srslte_vec_cf_zero(tx_buffer[0], ue_ul.ifft.sf_sz);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue