From caf7b514a0c458811214b9a6def44ad242cdeb66 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Fri, 13 Mar 2020 10:09:03 +0100 Subject: [PATCH] Avoid TTI initial magic number --- srsenb/src/phy/txrx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/phy/txrx.cc b/srsenb/src/phy/txrx.cc index 7900e5c50..0acecaf53 100644 --- a/srsenb/src/phy/txrx.cc +++ b/srsenb/src/phy/txrx.cc @@ -115,7 +115,7 @@ void txrx::run_thread() log_h->info("Starting RX/TX thread nof_prb=%d, sf_len=%d\n", worker_com->get_nof_prb(0), sf_len); // Set TTI so that first TX is at tti=0 - tti = 10235; + tti = TTI_SUB(0, FDD_HARQ_DELAY_DL_MS + 1); // Main loop while (running) {