diff options
Diffstat (limited to 'host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp')
-rw-r--r-- | host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp b/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp index 6871080ff..18fb9bbe1 100644 --- a/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp +++ b/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp @@ -66,6 +66,13 @@ std::ostream& operator<<( } } +std::ostream& operator<<( + std::ostream& os, const std::vector<::uhd::usrp::zbx::tune_map_item_t>& tune_map) +{ + os << "Tune map with " << tune_map.size() << " entries"; + return os; +} + void zbx_dboard_impl::_init_cpld() { // CPLD @@ -573,6 +580,13 @@ void zbx_dboard_impl::_init_lo_prop_tree(uhd::property_tree::sptr subtree, const size_t chan_idx, const fs_path fe_path) { + // Tuning table + expert_factory::add_prop_node<std::vector<tune_map_item_t>>(expert, + subtree, + fe_path / "tune_table", + trx == RX_DIRECTION ? rx_tune_map : tx_tune_map, + AUTO_RESOLVE_ON_WRITE); + // Analog LO Specific for (const std::string lo : {ZBX_LO1, ZBX_LO2}) { expert_factory::add_prop_node<zbx_lo_source_t>(expert, |