commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 02/07: uhd: Bugfix for multi-chan tune requ


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/07: uhd: Bugfix for multi-chan tune request
Date: Wed, 27 May 2015 16:59:46 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit c4823c9ba86bed10c2470ceaad7a0f5b820eb0cb
Author: Martin Braun <address@hidden>
Date:   Mon May 11 10:45:51 2015 -0700

    uhd: Bugfix for multi-chan tune request
    
    Fixes CID 1297415
---
 gr-uhd/lib/usrp_block_impl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-uhd/lib/usrp_block_impl.cc b/gr-uhd/lib/usrp_block_impl.cc
index 2e73b10..c36898a 100644
--- a/gr-uhd/lib/usrp_block_impl.cc
+++ b/gr-uhd/lib/usrp_block_impl.cc
@@ -517,8 +517,8 @@ void 
usrp_block_impl::_update_curr_tune_req(::uhd::tune_request_t &tune_req, int
   if (chan == -1) {
     for (size_t i = 0; i < _nchan; i++) {
       _update_curr_tune_req(tune_req, int(i));
-      return;
     }
+    return;
   }
 
   if (tune_req.target_freq != _curr_tune_req[chan].target_freq ||



reply via email to

[Prev in Thread] Current Thread [Next in Thread]