From e3e38482100f5bf13f15af3bc09df882e937bc60 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Sun, 3 May 2020 22:22:18 +0200 Subject: [PATCH] cell_search_nbiot: show DL frequency in MHz --- lib/examples/cell_search_nbiot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/examples/cell_search_nbiot.c b/lib/examples/cell_search_nbiot.c index 655e35d51..d2bad1820 100644 --- a/lib/examples/cell_search_nbiot.c +++ b/lib/examples/cell_search_nbiot.c @@ -195,7 +195,7 @@ int main(int argc, char** argv) srslte_rf_set_rx_freq(&rf, 0, rf_freq); INFO("Set rf_freq to %.3f Hz\n", rf_freq); - printf("[%3d/%d]: EARFCN %d Freq. %.2f MHz looking for NPSS.\n", freq, nof_freqs, channels[freq].id, rf_freq); + printf("[%3d/%d]: EARFCN %d, %.2f MHz looking for NPSS.\n", freq, nof_freqs, channels[freq].id, rf_freq / 1e6); fflush(stdout); if (SRSLTE_VERBOSE_ISINFO()) {