aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-03-11 13:56:32 -0700
committerMartin Braun <martin.braun@ettus.com>2015-03-11 14:09:11 -0700
commit21ccefb2facf3e85d0ab7146a6d4b93782688ade (patch)
tree1d20382d2ea15b1040b545a8981c31479cb4ee81
parentdc13586582d02bb28fd75e6a940f0dc6215f872d (diff)
downloaduhd-21ccefb2facf3e85d0ab7146a6d4b93782688ade.tar.gz
uhd-21ccefb2facf3e85d0ab7146a6d4b93782688ade.tar.bz2
uhd-21ccefb2facf3e85d0ab7146a6d4b93782688ade.zip
b200: Initialize _tick_rate properly to force tick rate update
-rw-r--r--host/lib/usrp/b200/b200_impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp
index 13169a5ed..e30853762 100644
--- a/host/lib/usrp/b200/b200_impl.cpp
+++ b/host/lib/usrp/b200/b200_impl.cpp
@@ -196,7 +196,8 @@ UHD_STATIC_BLOCK(register_b200_device)
/***********************************************************************
* Structors
**********************************************************************/
-b200_impl::b200_impl(const device_addr_t &device_addr)
+b200_impl::b200_impl(const device_addr_t &device_addr) :
+ _tick_rate(0.0) // Forces a clock initialization at startup
{
_tree = property_tree::make();
_type = device::USRP;