From ae2429c8cb95324d628e93806688d14d123cd45e Mon Sep 17 00:00:00 2001
From: Josh Blum <josh@joshknows.com>
Date: Mon, 18 Jun 2012 10:41:29 -0700
Subject: 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.
---
 host/lib/usrp/dboard/db_xcvr2450.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
cgit v1.2.3