nr,gnb,mac: fix log tti context overflow

This commit is contained in:
Francisco 2021-10-28 10:28:43 +01:00 committed by Francisco Paisana
parent 4c7bc57b01
commit 1272f4c327
1 changed files with 2 additions and 2 deletions

View File

@ -298,10 +298,10 @@ int mac_nr::slot_indication(const srsran_slot_cfg_t& slot_cfg)
int mac_nr::get_dl_sched(const srsran_slot_cfg_t& slot_cfg, dl_sched_t& dl_sched)
{
logger.set_context(slot_cfg.idx - TX_ENB_DELAY);
slot_point pdsch_slot = srsran::slot_point{NUMEROLOGY_IDX, slot_cfg.idx};
logger.set_context((pdsch_slot - TX_ENB_DELAY).to_uint());
// Run Scheduler
sched_nr_interface::sched_rar_list_t rar_list;
sched_nr_interface::dl_res_t dl_res(rar_list, dl_sched);