cell_search_nbiot: show DL frequency in MHz

master
Andre Puschmann 5 years ago
parent f5d55847c2
commit e3e3848210

@ -195,7 +195,7 @@ int main(int argc, char** argv)
srslte_rf_set_rx_freq(&rf, 0, rf_freq); srslte_rf_set_rx_freq(&rf, 0, rf_freq);
INFO("Set rf_freq to %.3f Hz\n", 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); fflush(stdout);
if (SRSLTE_VERBOSE_ISINFO()) { if (SRSLTE_VERBOSE_ISINFO()) {

Loading…
Cancel
Save