commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 01/01: uhd: Fixed "reducing chan number" bu


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/01: uhd: Fixed "reducing chan number" bug
Date: Fri, 2 May 2014 21:44:53 +0000 (UTC)

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

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit affda0ba43433927d6da0f692960af52dd952c06
Author: Martin Braun <address@hidden>
Date:   Fri May 2 10:44:54 2014 +0200

    uhd: Fixed "reducing chan number" bug
    
    In some cases, there could be an error when reducing the number
    of chans for UHD device in GRC (e.g. going from 2 chans to 1).
    This adds another check which will alert the user.
---
 gr-uhd/grc/gen_uhd_usrp_blocks.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gr-uhd/grc/gen_uhd_usrp_blocks.py 
b/gr-uhd/grc/gen_uhd_usrp_blocks.py
index 02a89af..f80a7ee 100644
--- a/gr-uhd/grc/gen_uhd_usrp_blocks.py
+++ b/gr-uhd/grc/gen_uhd_usrp_blocks.py
@@ -298,6 +298,7 @@ self.\$(id).set_bandwidth(\$bw$(n), $n)
        <check>$max_mboards >= \$num_mboards</check>
        <check>\$num_mboards > 0</check>
        <check>\$nchan >= \$num_mboards</check>
+       <check>(not \$stream_chans()) or (\$nchan == 
len(\$stream_chans))</check>
        <$sourk>
                <name>$direction</name>
                <type>\$type.type</type>



reply via email to

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