aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
index 6a14f3976..d7d1b43de 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
@@ -5,6 +5,7 @@
//
#include "magnesium_ad9371_iface.hpp"
+#include "magnesium_constants.hpp"
#include <uhd/utils/log.hpp>
using namespace uhd;
@@ -42,7 +43,8 @@ double magnesium_ad9371_iface::set_frequency(
{
// Note: This sets the frequency for both channels (1 and 2).
auto which = _get_which(dir, chan);
- auto actual_freq = request<double>("set_freq", which, freq, false);
+ auto actual_freq =
+ request<double>(MAGNESIUM_TUNE_TIMEOUT, "set_freq", which, freq, false);
UHD_LOG_TRACE(_log_prefix, _rpc_prefix << "set_freq returned " << actual_freq);
return actual_freq;
}