diff options
author | Michael West <michael.west@ettus.com> | 2019-06-19 14:29:56 -0700 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2019-06-28 08:21:09 -0700 |
commit | 5f75f73f25016958ab32710bb0cbd5ce4481041b (patch) | |
tree | 95a66edf05eea2be27a57ac69475dd1f0cfdcc2f | |
parent | 3f7b937d3fbabe0a885bdcaf8137502528db6e68 (diff) | |
download | uhd-5f75f73f25016958ab32710bb0cbd5ce4481041b.tar.gz uhd-5f75f73f25016958ab32710bb0cbd5ce4481041b.tar.bz2 uhd-5f75f73f25016958ab32710bb0cbd5ce4481041b.zip |
TwinRX: Fix tick rate
Signed-off-by: Michael West <michael.west@ettus.com>
-rw-r--r-- | host/lib/usrp/x300/x300_radio_ctrl_impl.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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<double>("tick_rate").get(); + const double tick_rate = get_output_samp_rate(0); + if (_radio_type == PRIMARY) { + // Slot A is the highlander timekeeper + _tree->access<double>("tick_rate").set(tick_rate); + } radio_ctrl_impl::set_rate(tick_rate); //////////////////////////////////////////////////////////////// |