diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2016-03-09 17:57:54 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2016-03-21 17:46:23 -0700 |
commit | 721f2dd9c1b29b219c9e036f856e7f64f495728c (patch) | |
tree | 503040b695c547f5b666079b37fd305795a5d400 /host/lib/usrp/x300/x300_impl.cpp | |
parent | 7fad896c07fbdda4cf112e9e4999a5ab8f5484a5 (diff) | |
download | uhd-721f2dd9c1b29b219c9e036f856e7f64f495728c.tar.gz uhd-721f2dd9c1b29b219c9e036f856e7f64f495728c.tar.bz2 uhd-721f2dd9c1b29b219c9e036f856e7f64f495728c.zip |
dboard_iface: Added method to configure front connection and settings
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.cpp')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 80953ac20..4f49f7e73 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -1072,6 +1072,7 @@ void x300_impl::setup_radio(const size_t mb_i, const std::string &slot_name, con db_config.tx_spi_slaveno = DB_TX_SEN; db_config.i2c = mb.zpu_i2c; db_config.clock = mb.clock; + db_config.rx_dsp = mb.radio_perifs[radio_index].ddc; db_config.which_rx_clk = (slot_name == "A")? X300_CLOCK_WHICH_DB0_RX : X300_CLOCK_WHICH_DB1_RX; db_config.which_tx_clk = (slot_name == "A")? X300_CLOCK_WHICH_DB0_TX : X300_CLOCK_WHICH_DB1_TX; db_config.dboard_slot = (slot_name == "A")? 0 : 1; |