From f4f3ce2550aba933b5f4d310d82a42a41ce3f6a1 Mon Sep 17 00:00:00 2001 From: michael-west Date: Fri, 29 May 2015 13:30:24 -0700 Subject: UHD: Remove initialization of time to GPS time. --- host/lib/usrp/b200/b200_impl.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'host/lib/usrp/b200/b200_impl.cpp') 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(mb_path / "time_source" / "value").set("gpsdo"); _tree->access(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(mb_path / "time" / "pps").set(time_spec_t(tp)); } else { //init to internal clock and time source _tree->access(mb_path / "clock_source/value").set("internal"); -- cgit v1.2.3