diff options
Diffstat (limited to 'host/lib')
| -rw-r--r-- | host/lib/usrp/b200/b200_impl.cpp | 14 | ||||
| -rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 14 | 
2 files changed, 1 insertions, 27 deletions
| diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index 5aac5995d..f9e7eacfc 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -618,7 +618,7 @@ b200_impl::b200_impl(const uhd::device_addr_t& device_addr, usb_device_handle::s      //init to internal clock and time source      _tree->access<std::string>(mb_path / "clock_source/value").set("internal"); -    _tree->access<std::string>(mb_path / "time_source/value").set("none"); +    _tree->access<std::string>(mb_path / "time_source/value").set("internal");      // Set the DSP chains to some safe value      for (size_t i = 0; i < _radio_perifs.size(); i++) { @@ -631,18 +631,6 @@ b200_impl::b200_impl(const uhd::device_addr_t& device_addr, usb_device_handle::s          UHD_MSG(status) << "Setting master clock rate selection to 'automatic'." << std::endl;      } -    //GPS installed: use external ref, time, and init time spec -    if (_gps and _gps->gps_detected()) -    { -        UHD_MSG(status) << "Setting references to the internal GPSDO" << std::endl; -        _tree->access<std::string>(mb_path / "time_source" / "value").set("gpsdo"); -        _tree->access<std::string>(mb_path / "clock_source" / "value").set("gpsdo"); -    } else { -        //init to internal clock and time source -        _tree->access<std::string>(mb_path / "clock_source/value").set("internal"); -        _tree->access<std::string>(mb_path / "time_source/value").set("internal"); -    } -  }  b200_impl::~b200_impl(void) 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 @@ -815,20 +815,6 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t &dev_addr)          .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<std::string>(mb_path / "clock_source" / "value").set("gpsdo"); -        _tree->access<std::string>(mb_path / "time_source" / "value").set("gpsdo"); -    } else { -        _tree->access<std::string>(mb_path / "clock_source" / "value").set("internal"); -        _tree->access<std::string>(mb_path / "time_source" / "value").set("internal"); -    } -    UHD_MSG(status) << "done"  << std::endl; - -    ////////////////////////////////////////////////////////////////////      // create frontend mapping      ////////////////////////////////////////////////////////////////////      std::vector<size_t> default_map(2, 0); default_map[1] = 1; | 
