|
|
|
@ -682,9 +682,9 @@ double rf_uhd_set_rx_srate(void* h, double freq)
|
|
|
|
|
|
|
|
|
|
// Set master clock rate
|
|
|
|
|
if (freq < 10e6) {
|
|
|
|
|
rf_uhd_set_master_clock_rate(&handler, 4 * freq);
|
|
|
|
|
rf_uhd_set_master_clock_rate(handler, 4 * freq);
|
|
|
|
|
} else {
|
|
|
|
|
rf_uhd_set_master_clock_rate(&handler, freq);
|
|
|
|
|
rf_uhd_set_master_clock_rate(handler, freq);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (handler->nof_rx_channels > 1) {
|
|
|
|
@ -717,9 +717,9 @@ double rf_uhd_set_tx_srate(void* h, double freq)
|
|
|
|
|
|
|
|
|
|
// Set master clock rate
|
|
|
|
|
if (freq < 10e6) {
|
|
|
|
|
rf_uhd_set_master_clock_rate(&handler, 4 * freq);
|
|
|
|
|
rf_uhd_set_master_clock_rate(handler, 4 * freq);
|
|
|
|
|
} else {
|
|
|
|
|
rf_uhd_set_master_clock_rate(&handler, freq);
|
|
|
|
|
rf_uhd_set_master_clock_rate(handler, freq);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (handler->nof_tx_channels > 1) {
|
|
|
|
|