Set master clock rate by default for usrp unless x300 is defined

This commit is contained in:
Ismael Gomez 2018-01-02 13:20:43 +01:00
parent bbc5fad1cf
commit ba8a42b92a
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ int rf_uhd_open_multi(char *args, void **h, uint32_t nof_channels)
handler->current_master_clock = 184320000;
handler->dynamic_rate = false;
handler->devname = DEVNAME_X300;
} else if (strstr(args, "type=b200")) {
} else {
snprintf(args2, sizeof(args2), "%s,master_clock_rate=30.72e6", args);
args = args2;
handler->current_master_clock = 30720000;