diff --git a/srslte/examples/pdsch_ue.c b/srslte/examples/pdsch_ue.c index e08f1443c..434b2d57d 100644 --- a/srslte/examples/pdsch_ue.c +++ b/srslte/examples/pdsch_ue.c @@ -64,8 +64,8 @@ sem_t plot_sem; uint32_t plot_sf_idx=0; #endif -//#define PLOT_CHEST_ARGUMENT -//#define PRINT_CHANGE_SCHEDULIGN +#define PLOT_CHEST_ARGUMENT +#define PRINT_CHANGE_SCHEDULIGN /********************************************************************** * Program arguments processing @@ -407,16 +407,15 @@ int main(int argc, char **argv) { bzero(&old_dl_dci, sizeof(srslte_ra_dl_dci_t)); #endif - //ue_sync.correct_cfo = !prog_args.disable_cfo; + ue_sync.correct_cfo = !prog_args.disable_cfo; - /* Set high priority */ - /* + /* Set high priority */ struct sched_param param; param.sched_priority = sched_get_priority_max(SCHED_FIFO); if (sched_setscheduler(pthread_self(), SCHED_FIFO, ¶m)) { perror("setscheduler"); } -*/ + INFO("\nEntering main loop...\n\n", 0); /* Main loop */ diff --git a/srslte/lib/ch_estimation/src/chest_dl.c b/srslte/lib/ch_estimation/src/chest_dl.c index 7309a343b..1558d48f0 100644 --- a/srslte/lib/ch_estimation/src/chest_dl.c +++ b/srslte/lib/ch_estimation/src/chest_dl.c @@ -123,11 +123,11 @@ int srslte_chest_dl_init(srslte_chest_dl_t *q, srslte_cell_t cell) } /* Set default time/freq filters */ - float f[3]={0.2, 0.6, 0.2}; - srslte_chest_dl_set_filter_freq(q, f, 3); + //float f[3]={0.2, 0.6, 0.2}; + //srslte_chest_dl_set_filter_freq(q, f, 3); - //float f[5]={0.1, 0.2, 0.4, 0.2, 0.1}; - //srslte_chest_dl_set_filter_freq(q, f, 5); + float f[5]={0.1, 0.2, 0.4, 0.2, 0.1}; + srslte_chest_dl_set_filter_freq(q, f, 5); float t[2]={0.5, 0.5}; srslte_chest_dl_set_filter_time(q, t, 0);