diff options
author | Martin Braun <martin.braun@ettus.com> | 2014-11-21 15:08:31 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-11-21 15:08:31 +0100 |
commit | acb76266a9470209128dcfe982bfd33c1545df97 (patch) | |
tree | e75e0d47ef234e664145088340fcd10a76da77cc /host/lib | |
parent | beabf3d302a98a0a1e28ae8cc4d338f0bd13db6e (diff) | |
download | uhd-acb76266a9470209128dcfe982bfd33c1545df97.tar.gz uhd-acb76266a9470209128dcfe982bfd33c1545df97.tar.bz2 uhd-acb76266a9470209128dcfe982bfd33c1545df97.zip |
multi_usrp: Handle auto_tick_rate properly
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/multi_usrp.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<bool>(mb_root(mboard) / "auto_tick_rate").set(false); + } _tree->access<double>(mb_root(mboard) / "tick_rate").set(rate); return; } |