From cfa3f8283b66126056029f71e574700ba649d4e1 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 13 Nov 2011 16:44:01 -0800 Subject: usrp: fixed default initialization of iq bal correction --- host/lib/usrp/e100/e100_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/e100/e100_impl.cpp') diff --git a/host/lib/usrp/e100/e100_impl.cpp b/host/lib/usrp/e100/e100_impl.cpp index c0a8f46f3..7804f7fd8 100644 --- a/host/lib/usrp/e100/e100_impl.cpp +++ b/host/lib/usrp/e100/e100_impl.cpp @@ -259,13 +259,13 @@ e100_impl::e100_impl(const uhd::device_addr_t &device_addr){ .set(true); _tree->create >(rx_fe_path / "iq_balance" / "value") .subscribe(boost::bind(&rx_frontend_core_200::set_iq_balance, _rx_fe, _1)) - .set(std::complex(0.0, 0.0)); + .set(std::polar(1.0, 0.0)); _tree->create >(tx_fe_path / "dc_offset" / "value") .coerce(boost::bind(&tx_frontend_core_200::set_dc_offset, _tx_fe, _1)) .set(std::complex(0.0, 0.0)); _tree->create >(tx_fe_path / "iq_balance" / "value") .subscribe(boost::bind(&tx_frontend_core_200::set_iq_balance, _tx_fe, _1)) - .set(std::complex(0.0, 0.0)); + .set(std::polar(1.0, 0.0)); //////////////////////////////////////////////////////////////////// // create rx dsp control objects -- cgit v1.2.3