aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
index 977d0bcab..8fd82cbc8 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
@@ -74,10 +74,10 @@ double magnesium_ad9371_iface::set_gain(
double magnesium_ad9371_iface::set_master_clock_rate(
const double freq
) {
- auto actual_freq = request<double>("set_master_clock_rate", freq);
+ const auto actual_freq = request<double>("set_master_clock_rate", freq);
UHD_LOG_TRACE(_log_prefix,
_rpc_prefix << "set_master_clock_rate returned successfully");
- return freq;
+ return actual_freq;
}
double magnesium_ad9371_iface::set_bandwidth(const double bandwidth, const size_t chan, const direction_t dir)