Make use of RF device passed as argument

This commit is contained in:
herlesupreeth 2020-12-07 05:59:22 +01:00 committed by Andre Puschmann
parent 00a7d3a4cd
commit aff9091ad3
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ int main(int argc, char** argv)
if (!prog_args.input_file_name) {
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");
exit(-1);
}