mirror of https://github.com/PentHertz/srsLTE.git
Fix device_args in x300 when setting master_clock
This commit is contained in:
parent
175f7fd587
commit
8e07547909
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue