Avoid TTI initial magic number

This commit is contained in:
Xavier Arteaga 2020-03-13 10:09:03 +01:00 committed by Xavier Arteaga
parent 44593120c6
commit caf7b514a0
1 changed files with 1 additions and 1 deletions

View File

@ -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) {