diff options
author | Josh Blum <josh@joshknows.com> | 2011-01-31 18:05:16 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-01-31 18:05:16 -0800 |
commit | 52e9c8f8027d0bbe1e6b0f57e30f985613e48be2 (patch) | |
tree | 44bb54695dfc8a0ba552085a1f9625d7d85d37ab /host/lib/usrp/usrp1/soft_time_ctrl.cpp | |
parent | 572a64f0acb459583abfccbc8288158822fa2f77 (diff) | |
parent | 67bba008255f98367cf19dba518dceb40f763c25 (diff) | |
download | uhd-52e9c8f8027d0bbe1e6b0f57e30f985613e48be2.tar.gz uhd-52e9c8f8027d0bbe1e6b0f57e30f985613e48be2.tar.bz2 uhd-52e9c8f8027d0bbe1e6b0f57e30f985613e48be2.zip |
Merge branch 'multi_usrp_only' into usrp_e100_devel
Diffstat (limited to 'host/lib/usrp/usrp1/soft_time_ctrl.cpp')
-rw-r--r-- | host/lib/usrp/usrp1/soft_time_ctrl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp1/soft_time_ctrl.cpp b/host/lib/usrp/usrp1/soft_time_ctrl.cpp index 856faf89d..c91ecc7ed 100644 --- a/host/lib/usrp/usrp1/soft_time_ctrl.cpp +++ b/host/lib/usrp/usrp1/soft_time_ctrl.cpp @@ -69,6 +69,9 @@ public: _thread_group.create_thread(boost::bind(&soft_time_ctrl_impl::recv_cmd_dispatcher, this)); _update_mutex.lock(); //lock blocks until spawned _update_mutex.unlock(); //unlock mutex before done + + //initialize the time to something + this->set_time(time_spec_t(0.0)); } ~soft_time_ctrl_impl(void){ |