From 65bd6aebeb9a0e26e02b1f7141abd9dec570e462 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 3 Aug 2018 15:14:45 -0700 Subject: fixup! mpm: mg: add set_master_clock_rate member --- host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib') 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("set_master_clock_rate", freq); + const auto actual_freq = request("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) -- cgit v1.2.3