From 69e4b0ed7f80fc241e9b69f05e2af0d9f52b3521 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 8 May 2019 14:18:33 -0700 Subject: mg: Allow for timeout on retune set_freq() calls now have a 15 seconds timeout. --- host/lib/usrp/dboard/magnesium/magnesium_constants.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/lib/usrp/dboard/magnesium/magnesium_constants.hpp') diff --git a/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp b/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp index a045d0558..9b3bdf800 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp @@ -76,4 +76,7 @@ static constexpr size_t MAGNESIUM_NUM_CHANS = 2; static constexpr double MAGNESIUM_RX_IF_FREQ = 2.44e9; static constexpr double MAGNESIUM_TX_IF_FREQ = 1.95e9; +//! Max time we allow for a call to set_freq() to take +static constexpr size_t MAGNESIUM_TUNE_TIMEOUT = 15000; // milliseconds + #endif /* INCLUDED_LIBUHD_MAGNESIUM_CONSTANTS_HPP */ -- cgit v1.2.3