diff options
author | Josh Blum <josh@joshknows.com> | 2012-06-18 10:41:29 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-06-18 10:41:29 -0700 |
commit | ae2429c8cb95324d628e93806688d14d123cd45e (patch) | |
tree | aca61de265b47b97d00528c0106b377e75a7b22e | |
parent | 6b42fbab438fc2bc92de21cf2875d75e77034ea8 (diff) | |
download | uhd-ae2429c8cb95324d628e93806688d14d123cd45e.tar.gz uhd-ae2429c8cb95324d628e93806688d14d123cd45e.tar.bz2 uhd-ae2429c8cb95324d628e93806688d14d123cd45e.zip |
xcvr2450: fix to disable LO offset for TX side
XCVR2450 has a common LO for RX and TX.
The use LO offset should be the same for both sides.
When different, a tune for one side will override the other side,
because the DSP will not know the compensation factor after the other side is tuned.
Setting both use_lo_offset to false is how this was pre 3.4 release.
-rw-r--r-- | host/lib/usrp/dboard/db_xcvr2450.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_xcvr2450.cpp b/host/lib/usrp/dboard/db_xcvr2450.cpp index 0fdad0d40..9d0033a9a 100644 --- a/host/lib/usrp/dboard/db_xcvr2450.cpp +++ b/host/lib/usrp/dboard/db_xcvr2450.cpp @@ -291,7 +291,7 @@ xcvr2450::xcvr2450(ctor_args_t args) : xcvr_dboard_base(args){ this->get_tx_subtree()->create<bool>("enabled") .set(true); //always enabled this->get_tx_subtree()->create<bool>("use_lo_offset") - .set(true); + .set(false); this->get_tx_subtree()->create<double>("bandwidth/value") .coerce(boost::bind(&xcvr2450::set_tx_bandwidth, this, _1)) //complex bandpass bandwidth .set(2.0*_tx_bandwidth); //_tx_bandwidth in lowpass, convert to complex bandpass |