[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 03/05: uhd: Removed LO lock checks at start
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 03/05: uhd: Removed LO lock checks at startup, are unnecessary and cause bugs |
Date: |
Wed, 24 Sep 2014 23:26:43 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch master
in repository gnuradio.
commit 2fd13c0c031b0ae7a3478d5992e0017a8d1b113d
Author: Martin Braun <address@hidden>
Date: Mon Sep 22 16:10:26 2014 -0700
uhd: Removed LO lock checks at startup, are unnecessary and cause bugs
---
gr-uhd/lib/usrp_sink_impl.cc | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/gr-uhd/lib/usrp_sink_impl.cc b/gr-uhd/lib/usrp_sink_impl.cc
index 20f6fd6..3301ca1 100644
--- a/gr-uhd/lib/usrp_sink_impl.cc
+++ b/gr-uhd/lib/usrp_sink_impl.cc
@@ -88,7 +88,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") {
@@ -107,19 +107,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_sink_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;
}
- [Commit-gnuradio] [gnuradio] branch master updated (84ca321 -> 26169d2), git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 02/05: runtime: Marked remove_item_tag as deprecated, git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 01/05: digital: Removed all references to remove_item_tag(), git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 05/05: Merge remote-tracking branch 'mbant/deprecate_remove_item_tag', git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 03/05: uhd: Removed LO lock checks at startup, are unnecessary and cause bugs,
git <=
- [Commit-gnuradio] [gnuradio] 04/05: Merge remote-tracking branch 'mbant/uhd/less_checks', git, 2014/09/24