From 5f75f73f25016958ab32710bb0cbd5ce4481041b Mon Sep 17 00:00:00 2001 From: Michael West Date: Wed, 19 Jun 2019 14:29:56 -0700 Subject: TwinRX: Fix tick rate Signed-off-by: Michael West --- host/lib/usrp/x300/x300_radio_ctrl_impl.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp index b61e64800..bced9c794 100644 --- a/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp +++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp @@ -903,7 +903,11 @@ void x300_radio_ctrl_impl::setup_radio(uhd::i2c_iface::sptr zpu_i2c, //////////////////////////////////////////////////////////////// // Set tick rate //////////////////////////////////////////////////////////////// - const double tick_rate = _tree->access("tick_rate").get(); + const double tick_rate = get_output_samp_rate(0); + if (_radio_type == PRIMARY) { + // Slot A is the highlander timekeeper + _tree->access("tick_rate").set(tick_rate); + } radio_ctrl_impl::set_rate(tick_rate); //////////////////////////////////////////////////////////////// -- cgit v1.2.3