From acb76266a9470209128dcfe982bfd33c1545df97 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 21 Nov 2014 15:08:31 +0100 Subject: multi_usrp: Handle auto_tick_rate properly --- host/lib/usrp/multi_usrp.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/lib') diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp index 0c128dd22..7f27bdc64 100644 --- a/host/lib/usrp/multi_usrp.cpp +++ b/host/lib/usrp/multi_usrp.cpp @@ -431,6 +431,9 @@ public: ******************************************************************/ void set_master_clock_rate(double rate, size_t mboard){ if (mboard != ALL_MBOARDS){ + if (_tree->exists(mb_root(mboard) / "auto_tick_rate")) { + _tree->access(mb_root(mboard) / "auto_tick_rate").set(false); + } _tree->access(mb_root(mboard) / "tick_rate").set(rate); return; } -- cgit v1.2.3