diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2015-08-17 10:24:22 -0700 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2015-08-17 10:24:22 -0700 |
commit | 5e8a4cd63c6ca265f4e74b3a866f28e8c3eed3dc (patch) | |
tree | 0eb246a5f4a891c787e9a3c8a647b35661cc15f6 /host/lib | |
parent | 04a316db807d7bd08ff1f9a39db896bb8df8dc23 (diff) | |
download | uhd-5e8a4cd63c6ca265f4e74b3a866f28e8c3eed3dc.tar.gz uhd-5e8a4cd63c6ca265f4e74b3a866f28e8c3eed3dc.tar.bz2 uhd-5e8a4cd63c6ca265f4e74b3a866f28e8c3eed3dc.zip |
x300: Removed call to is_pps_present
- It's status is thrown away anyway
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 5e3688bac..2b6768079 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -1441,12 +1441,12 @@ void x300_impl::update_time_source(mboard_members_t &mb, const std::string &sour throw uhd::key_error("update_time_source: unknown source: " + source); } + /* TODO - Implement intelligent PPS detection //check for valid pps - if (!is_pps_present(mb)) - { - // TODO - Implement intelligent PPS detection - /* throw uhd::runtime_error((boost::format("The %d PPS was not detected. Please check the PPS source and try again.") % source).str()); */ + if (!is_pps_present(mb)) { + throw uhd::runtime_error((boost::format("The %d PPS was not detected. Please check the PPS source and try again.") % source).str()); } + */ } bool x300_impl::wait_for_clk_locked(mboard_members_t& mb, boost::uint32_t which, double timeout) |