summaryrefslogtreecommitdiff
path: root/usrp/host/lib
diff options
context:
space:
mode:
authormatt2009-01-09 03:33:16 +0000
committermatt2009-01-09 03:33:16 +0000
commitc0ae1f0f1eb49fd070af75efcac49b06458ecdae (patch)
treed87bd47573686abf137ea3f52c25c1485af2b57e /usrp/host/lib
parent2133f27ae1bae65696857d6db5303309cdae2133 (diff)
downloadgnuradio-c0ae1f0f1eb49fd070af75efcac49b06458ecdae.tar.gz
gnuradio-c0ae1f0f1eb49fd070af75efcac49b06458ecdae.tar.bz2
gnuradio-c0ae1f0f1eb49fd070af75efcac49b06458ecdae.zip
fix for xcvr.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10203 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp/host/lib')
-rw-r--r--usrp/host/lib/legacy/usrp_standard.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp/host/lib/legacy/usrp_standard.cc b/usrp/host/lib/legacy/usrp_standard.cc
index d27bbbec3..2cc08a8fd 100644
--- a/usrp/host/lib/legacy/usrp_standard.cc
+++ b/usrp/host/lib/legacy/usrp_standard.cc
@@ -193,7 +193,7 @@ tune_a_helper(db_base_sptr db, double target_freq, double fs,
inverted = !inverted;
}
- if (dxc.is_tx()) // down conversion versus up conversion
+ if (dxc.is_tx() && !db->i_and_q_swapped()) // down conversion versus up conversion
dxc_freq = -dxc_freq;
ok &= dxc.set_dxc_freq(dxc_freq);