From d110e64f82fe4413393f8078d82ae0468cef283a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 28 Mar 2018 14:39:11 -0700 Subject: b200: Add clock rate range --- host/lib/usrp/b200/b200_impl.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/lib') diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index 570994496..c432ad905 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -572,6 +572,11 @@ b200_impl::b200_impl(const uhd::device_addr_t& device_addr, usb_device_handle::s .set_coercer(boost::bind(&b200_impl::set_tick_rate, this, _1)) .set_publisher(boost::bind(&b200_impl::get_tick_rate, this)) .add_coerced_subscriber(boost::bind(&b200_impl::update_tick_rate, this, _1)); + _tree->create(mb_path / "tick_rate/range") + .set_publisher([this](){ + return this->_codec_ctrl->get_clock_rate_range(); + }) + ; _tree->create(mb_path / "time" / "cmd"); _tree->create(mb_path / "auto_tick_rate").set(false); -- cgit v1.2.3