summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-23 14:45:30 -0700
committerJosh Blum <josh@joshknows.com>2010-04-23 14:45:30 -0700
commit3df2b2fc7c9d3a1824025c2576e89f950abae212 (patch)
treebcfb82525f58ef9d41d41bfc4fb70fa26053f083 /host/lib/usrp/usrp2
parentdf5212a793e5d250bfcc7955049b1e1f1eb2af03 (diff)
downloaduhd-3df2b2fc7c9d3a1824025c2576e89f950abae212.tar.gz
uhd-3df2b2fc7c9d3a1824025c2576e89f950abae212.tar.bz2
uhd-3df2b2fc7c9d3a1824025c2576e89f950abae212.zip
XCVR tweaks, working in highband and lowband.
Also, fixed the tx mux calculation.
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/dboard_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/dboard_impl.cpp b/host/lib/usrp/usrp2/dboard_impl.cpp
index fe74219d6..ee23dc83a 100644
--- a/host/lib/usrp/usrp2/dboard_impl.cpp
+++ b/host/lib/usrp/usrp2/dboard_impl.cpp
@@ -94,7 +94,7 @@ void usrp2_impl::update_tx_mux_config(void){
wax::obj tx_subdev = _dboard_manager->get_tx_subdev(_tx_subdevs_in_use.at(0));
std::cout << "Using: " << tx_subdev[SUBDEV_PROP_NAME].as<std::string>() << std::endl;
if (tx_subdev[SUBDEV_PROP_IQ_SWAPPED].as<bool>()){
- tx_mux = (((tx_mux >> 0) & 0x1) << 1) | (((tx_mux >> 1) & 0x1) << 0);
+ tx_mux = (((tx_mux >> 0) & 0xf) << 4) | (((tx_mux >> 4) & 0xf) << 0);
}
_iface->poke32(FR_DSP_TX_MUX, tx_mux);