diff options
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.cpp')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 229bf7b23..8e82e8efd 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -819,13 +819,10 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t &dev_addr) //////////////////////////////////////////////////////////////////// if (mb.gps and mb.gps->gps_detected()) { - UHD_MSG(status) << "Initializing clock and time using GPSDO... " << std::flush; + UHD_MSG(status) << "Setting references to the internal GPSDO" << std::flush; _tree->access<std::string>(mb_path / "clock_source" / "value").set("gpsdo"); _tree->access<std::string>(mb_path / "time_source" / "value").set("gpsdo"); - const time_t tp = time_t(mb.gps->get_sensor("gps_time").to_int() + 1); - _tree->access<time_spec_t>(mb_path / "time" / "pps").set(time_spec_t(tp)); } else { - UHD_MSG(status) << "Initializing clock and time using internal sources... " << std::flush; _tree->access<std::string>(mb_path / "clock_source" / "value").set("internal"); _tree->access<std::string>(mb_path / "time_source" / "value").set("internal"); } |