diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-11-11 14:06:56 -0800 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-11-11 14:06:56 -0800 |
commit | 5a3b5a06082e90a68b993a765b91a7c288ab19c0 (patch) | |
tree | 5219c55ea239203514fc0a699f7f7ceb21c48781 /host/lib/usrp/wrapper_utils.hpp | |
parent | 6eef331543022efa5723e677cd3140e652ea67d7 (diff) | |
parent | 5da1e3e2d683eecce1f0e888d90caef40661e98e (diff) | |
download | uhd-5a3b5a06082e90a68b993a765b91a7c288ab19c0.tar.gz uhd-5a3b5a06082e90a68b993a765b91a7c288ab19c0.tar.bz2 uhd-5a3b5a06082e90a68b993a765b91a7c288ab19c0.zip |
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p
Diffstat (limited to 'host/lib/usrp/wrapper_utils.hpp')
-rw-r--r-- | host/lib/usrp/wrapper_utils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/wrapper_utils.hpp b/host/lib/usrp/wrapper_utils.hpp index 6f9fdbfca..a7b5c5da6 100644 --- a/host/lib/usrp/wrapper_utils.hpp +++ b/host/lib/usrp/wrapper_utils.hpp @@ -30,7 +30,7 @@ static inline uhd::freq_range_t add_dsp_shift( wax::obj dsp ){ double codec_rate = dsp[uhd::usrp::DSP_PROP_CODEC_RATE].as<double>(); - return uhd::freq_range_t(range.min - codec_rate/2.0, range.max + codec_rate/2.0); + return uhd::freq_range_t(range.start() - codec_rate/2.0, range.stop() + codec_rate/2.0); } static inline void do_samp_rate_warning_message( |