aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/dsp_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-22 17:33:43 -0800
committerJosh Blum <josh@joshknows.com>2010-12-22 17:33:43 -0800
commit67e89717659605e4d8e0ddd26e4ccef4dec24eb2 (patch)
treea011be8ad75e13fd98d61c8b31ed218e0bce687c /host/lib/usrp/usrp1/dsp_impl.cpp
parent94682e4b04d9304a2f39c192bf423c4ee9f38e69 (diff)
parent8f93121987af42d8b049d29cd8ea101a6306fa87 (diff)
downloaduhd-67e89717659605e4d8e0ddd26e4ccef4dec24eb2.tar.gz
uhd-67e89717659605e4d8e0ddd26e4ccef4dec24eb2.tar.bz2
uhd-67e89717659605e4d8e0ddd26e4ccef4dec24eb2.zip
Merge branch 'master' into next
Conflicts: host/lib/usrp/usrp2/CMakeLists.txt
Diffstat (limited to 'host/lib/usrp/usrp1/dsp_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/dsp_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/dsp_impl.cpp b/host/lib/usrp/usrp1/dsp_impl.cpp
index e9a5e60a6..370f4831f 100644
--- a/host/lib/usrp/usrp1/dsp_impl.cpp
+++ b/host/lib/usrp/usrp1/dsp_impl.cpp
@@ -102,7 +102,7 @@ void usrp1_impl::rx_dsp_set(const wax::obj &key_, const wax::obj &val){
("0", FR_RX_FREQ_0) ("1", FR_RX_FREQ_1)
("2", FR_RX_FREQ_2) ("3", FR_RX_FREQ_3)
;
- _iface->poke32(freq_name_to_reg_val[key.name], reg_word);
+ _iface->poke32(freq_name_to_reg_val[key.name], ~reg_word + 1);
_rx_dsp_freqs[key.name] = new_freq;
return;
}