From 5e8a4cd63c6ca265f4e74b3a866f28e8c3eed3dc Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Mon, 17 Aug 2015 10:24:22 -0700 Subject: x300: Removed call to is_pps_present - It's status is thrown away anyway --- host/lib/usrp/x300/x300_impl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'host/lib') 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) -- cgit v1.2.3