From c26a70c8da40d9d68aac229345ddf9b3099dc805 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Mon, 20 Apr 2020 18:28:35 +0200 Subject: [PATCH] Fix compilation --- lib/src/phy/ue/ue_dl_nbiot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/phy/ue/ue_dl_nbiot.c b/lib/src/phy/ue/ue_dl_nbiot.c index 12c7cece6..dbcb1dbe5 100644 --- a/lib/src/phy/ue/ue_dl_nbiot.c +++ b/lib/src/phy/ue/ue_dl_nbiot.c @@ -130,7 +130,7 @@ int srslte_nbiot_ue_dl_init(srslte_nbiot_ue_dl_t* q, fprintf(stderr, "Error initiating SFO correct\n"); goto clean_exit; } - srslte_cfo_set_tol(&q->sfo_correct, 1e-5 / q->fft.symbol_sz); + srslte_cfo_set_tol(&q->sfo_correct, 1e-5 / q->fft.cfg.symbol_sz); ret = SRSLTE_SUCCESS; } else { @@ -514,7 +514,7 @@ int srslte_nbiot_ue_dl_decode_fft_estimate(srslte_nbiot_ue_dl_t* q, uint32_t sf_ srslte_cfo_correct(&q->sfo_correct, &q->sf_symbols[i * q->cell.base.nof_prb * SRSLTE_NRE], &q->sf_symbols[i * q->cell.base.nof_prb * SRSLTE_NRE], - q->sample_offset / q->fft.symbol_sz); + q->sample_offset / q->fft.cfg.symbol_sz); } }