Make use of RF device passed as argument

master
herlesupreeth 4 years ago committed by Andre Puschmann
parent 00a7d3a4cd
commit aff9091ad3

@ -244,7 +244,7 @@ int main(int argc, char** argv)
if (!prog_args.input_file_name) { if (!prog_args.input_file_name) {
printf("Opening RF device...\n"); printf("Opening RF device...\n");
if (srsran_rf_open_multi(&radio, prog_args.rf_args, prog_args.nof_rx_antennas)) { if (srsran_rf_open_devname(&radio, prog_args.rf_dev, prog_args.rf_args, prog_args.nof_rx_antennas)) {
ERROR("Error opening rf"); ERROR("Error opening rf");
exit(-1); exit(-1);
} }

Loading…
Cancel
Save