From 89ba34c4fff7ffbcd3f7431840df4622ae935c4e Mon Sep 17 00:00:00 2001 From: michael-west Date: Wed, 12 Aug 2015 10:54:25 -0700 Subject: B200/X300: Make default clock and time sources internal --- host/lib/usrp/x300/x300_impl.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'host/lib/usrp/x300') diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 8e82e8efd..470c1e17d 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -814,20 +814,6 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t &dev_addr) .subscribe(boost::bind(&x300_impl::update_tick_rate, this, boost::ref(mb), _1)) .set(mb.clock->get_master_clock_rate()); - //////////////////////////////////////////////////////////////////// - // initialize clock and time sources - //////////////////////////////////////////////////////////////////// - if (mb.gps and mb.gps->gps_detected()) - { - UHD_MSG(status) << "Setting references to the internal GPSDO" << std::flush; - _tree->access(mb_path / "clock_source" / "value").set("gpsdo"); - _tree->access(mb_path / "time_source" / "value").set("gpsdo"); - } else { - _tree->access(mb_path / "clock_source" / "value").set("internal"); - _tree->access(mb_path / "time_source" / "value").set("internal"); - } - UHD_MSG(status) << "done" << std::endl; - //////////////////////////////////////////////////////////////////// // create frontend mapping //////////////////////////////////////////////////////////////////// -- cgit v1.2.3