From 8e075479096491aad4b5e49c771dcdc573b76eb9 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Thu, 26 Mar 2020 18:08:42 +0100 Subject: [PATCH] Fix device_args in x300 when setting master_clock --- lib/src/phy/rf/rf_uhd_imp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/phy/rf/rf_uhd_imp.c b/lib/src/phy/rf/rf_uhd_imp.c index 9d3c4e601..9e3e0df57 100644 --- a/lib/src/phy/rf/rf_uhd_imp.c +++ b/lib/src/phy/rf/rf_uhd_imp.c @@ -612,7 +612,7 @@ int rf_uhd_open_multi(char* args, void** h, uint32_t nof_channels) } } else { // If args is set and x300 type is specified, make sure master_clock_rate is defined - if (strstr(args, "type=x300") && !strstr(args, "master_clock_rate")) { + if (strstr(args, "type=x300")) { sprintf(args2, "%s,master_clock_rate=184.32e6", args); args = args2; handler->current_master_clock = 184320000;