diff options
author | michael-west <michael.west@ettus.com> | 2015-05-29 13:30:24 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-08-12 17:23:40 -0700 |
commit | f4f3ce2550aba933b5f4d310d82a42a41ce3f6a1 (patch) | |
tree | 58599229472b14f641633db08c25916432a2599d /host/lib/usrp/b200/b200_impl.cpp | |
parent | d745b5cf6d9a918be141339ceca5fbf9d6259eab (diff) | |
download | uhd-f4f3ce2550aba933b5f4d310d82a42a41ce3f6a1.tar.gz uhd-f4f3ce2550aba933b5f4d310d82a42a41ce3f6a1.tar.bz2 uhd-f4f3ce2550aba933b5f4d310d82a42a41ce3f6a1.zip |
UHD: Remove initialization of time to GPS time.
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.cpp')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index f5129bc24..5aac5995d 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -637,9 +637,6 @@ b200_impl::b200_impl(const uhd::device_addr_t& device_addr, usb_device_handle::s UHD_MSG(status) << "Setting references to the internal GPSDO" << std::endl; _tree->access<std::string>(mb_path / "time_source" / "value").set("gpsdo"); _tree->access<std::string>(mb_path / "clock_source" / "value").set("gpsdo"); - UHD_MSG(status) << "Initializing time to the internal GPSDO" << std::endl; - const time_t tp = time_t(_gps->get_sensor("gps_time").to_int()+1); - _tree->access<time_spec_t>(mb_path / "time" / "pps").set(time_spec_t(tp)); } else { //init to internal clock and time source _tree->access<std::string>(mb_path / "clock_source/value").set("internal"); |