From 21ccefb2facf3e85d0ab7146a6d4b93782688ade Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 11 Mar 2015 13:56:32 -0700 Subject: b200: Initialize _tick_rate properly to force tick rate update --- host/lib/usrp/b200/b200_impl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp') 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; -- cgit v1.2.3