diff options
author | Martin Braun <martin.braun@ettus.com> | 2014-09-29 15:27:31 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-09-29 15:27:31 -0700 |
commit | c79dd2791628ef6d33354f0fbe60df37aee71ed7 (patch) | |
tree | 0edf5d9524d2ce7f2d551ed9501e02ce102bce98 /gr-uhd | |
parent | cecf6f7523488cf6c77b0f0ddfccefdcf0a0d0f7 (diff) |
uhd: Amends 2fd13c0c, LO lock checks need to be removed from source as well as sink
Diffstat (limited to 'gr-uhd')
-rw-r--r-- | gr-uhd/lib/usrp_source_impl.cc | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/gr-uhd/lib/usrp_source_impl.cc b/gr-uhd/lib/usrp_source_impl.cc index 53038bf202..a71f53c5b3 100644 --- a/gr-uhd/lib/usrp_source_impl.cc +++ b/gr-uhd/lib/usrp_source_impl.cc @@ -87,7 +87,7 @@ namespace gr { { bool clocks_locked = true; - // 1) Check ref lock for all mboards + // Check ref lock for all mboards for (size_t mboard_index = 0; mboard_index < _dev->get_num_mboards(); mboard_index++) { std::string sensor_name = "ref_locked"; if (_dev->get_clock_source(mboard_index) == "internal") { @@ -106,19 +106,6 @@ namespace gr { } } - // 2) Check LO for all channels - for (size_t i = 0; i < _nchan; i++) { - size_t chan_index = _stream_args.channels[i]; - if (not _wait_for_locked_sensor( - get_sensor_names(chan_index), - "lo_locked", - boost::bind(&usrp_source_impl::get_sensor, this, _1, chan_index) - )) { - GR_LOG_WARN(d_logger, boost::format("Sensor 'lo_locked' failed to lock within timeout on channel %d.") % chan_index); - clocks_locked = false; - } - } - return clocks_locked; } |