diff --git a/lib/examples/pssch_ue.c b/lib/examples/pssch_ue.c index 610ae6e87..96947a36e 100644 --- a/lib/examples/pssch_ue.c +++ b/lib/examples/pssch_ue.c @@ -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); }