From 8055ac0d4f10c8c13709d49fedcc66615e472a79 Mon Sep 17 00:00:00 2001 From: michael-west Date: Fri, 8 Aug 2014 17:40:54 -0700 Subject: - Fixes for channel alignment - Added analog delay for radio clock - Added analog delay for DAC reference clocks - Removed resetting of clock control - Removed setting of reference clock and PPS to external sources during initialization - Fixes for set_time_unknown_pps - Removed wait for PPS edge after setting time from GPSDO - Changed set_time_unknonw_pps to time out based on system time rather than device VITA time --- host/lib/usrp/usrp2/usrp2_impl.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'host/lib/usrp/usrp2') diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index 7c478d8e1..d96a8ab7d 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -763,11 +763,6 @@ usrp2_impl::usrp2_impl(const device_addr_t &_device_addr){ 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(root / "time" / "pps").set(time_spec_t(tp)); - - //wait for next PPS edge (timeout after 1 second) - time_spec_t pps_time = _tree->access(root / "time" / "pps").get(); - for (size_t i = 0; i < 10 && _tree->access(root / "time" / "pps").get() == pps_time; i++) - boost::this_thread::sleep(boost::posix_time::milliseconds(100)); } } -- cgit v1.2.3