aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/wrapper_utils.hpp
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-11-11 14:06:56 -0800
committerNick Foster <nick@nerdnetworks.org>2010-11-11 14:06:56 -0800
commit5a3b5a06082e90a68b993a765b91a7c288ab19c0 (patch)
tree5219c55ea239203514fc0a699f7f7ceb21c48781 /host/lib/usrp/wrapper_utils.hpp
parent6eef331543022efa5723e677cd3140e652ea67d7 (diff)
parent5da1e3e2d683eecce1f0e888d90caef40661e98e (diff)
downloaduhd-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.hpp2
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(