diff options
author | michael-west <michael.west@ettus.com> | 2015-08-12 10:54:25 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-08-12 17:23:40 -0700 |
commit | 89ba34c4fff7ffbcd3f7431840df4622ae935c4e (patch) | |
tree | 8764e8913bccf443efbc3dac1d431d5a417d99a3 /host/lib/usrp/x300 | |
parent | f4f3ce2550aba933b5f4d310d82a42a41ce3f6a1 (diff) | |
download | uhd-89ba34c4fff7ffbcd3f7431840df4622ae935c4e.tar.gz uhd-89ba34c4fff7ffbcd3f7431840df4622ae935c4e.tar.bz2 uhd-89ba34c4fff7ffbcd3f7431840df4622ae935c4e.zip |
B200/X300: Make default clock and time sources internal
Diffstat (limited to 'host/lib/usrp/x300')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
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; |