summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-23 16:05:57 -0700
committerJosh Blum <josh@joshknows.com>2010-04-23 16:05:57 -0700
commit0c3af59014f1ef3f03c099a15e74d3cdc629ef7e (patch)
tree6917a51f266d848d0b57856836912744ab22b321 /host/lib/usrp/usrp2
parent19a2f02768e03ced30a32dfc0a703068a8d99176 (diff)
parenta29b30fdf17b5703c9b5c5dd015f11ecd44fbdfe (diff)
downloaduhd-0c3af59014f1ef3f03c099a15e74d3cdc629ef7e.tar.gz
uhd-0c3af59014f1ef3f03c099a15e74d3cdc629ef7e.tar.bz2
uhd-0c3af59014f1ef3f03c099a15e74d3cdc629ef7e.zip
Merge branch 'xcvr' of git@ettus.sourcerepo.com:ettus/uhdpriv
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);