aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-16 15:27:17 -0800
committerJosh Blum <josh@joshknows.com>2010-12-16 15:27:17 -0800
commita78a72f25416ecbd17f821a3fba358da6bb08e32 (patch)
treef4ba68608054973df9f504384d9f15fd143097e9 /host/lib/usrp
parent768d32d91a6b207c577803e9d8baff884551f839 (diff)
downloaduhd-a78a72f25416ecbd17f821a3fba358da6bb08e32.tar.gz
uhd-a78a72f25416ecbd17f821a3fba358da6bb08e32.tar.bz2
uhd-a78a72f25416ecbd17f821a3fba358da6bb08e32.zip
usrp1: negate the rx cordic reg word because things were inverted and nobody noticed
Diffstat (limited to 'host/lib/usrp')
-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;
}