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/usrp2 | |
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/usrp2')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index 6073ec1c0..7b59dfaf1 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -782,9 +782,6 @@ usrp2_impl::usrp2_impl(const device_addr_t &_device_addr) : UHD_MSG(status) << "Setting references to the internal GPSDO" << std::endl; _tree->access<std::string>(root / "time_source/value").set("gpsdo"); _tree->access<std::string>(root / "clock_source/value").set("gpsdo"); - UHD_MSG(status) << "Initializing time to the internal GPSDO" << std::endl; - const time_t tp = time_t(_mbc[mb].gps->get_sensor("gps_time").to_int()+1); - _tree->access<time_spec_t>(root / "time" / "pps").set(time_spec_t(tp)); } } |