summaryrefslogtreecommitdiff
path: root/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
diff options
context:
space:
mode:
authorJosh Blum2010-10-18 18:29:20 -0700
committerJosh Blum2010-10-18 18:29:20 -0700
commit343cba5663d0eefdd3ee3918bef812dc1bd75508 (patch)
tree70ddc504b664cef8b6681ab8755dbe9df4af5ea9 /gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
parent8c6445cb3dd2a8db361203fedf55f3efb6953635 (diff)
downloadgnuradio-343cba5663d0eefdd3ee3918bef812dc1bd75508.tar.gz
gnuradio-343cba5663d0eefdd3ee3918bef812dc1bd75508.tar.bz2
gnuradio-343cba5663d0eefdd3ee3918bef812dc1bd75508.zip
uhd: tweaked and tested multi usrp with a single channel
Diffstat (limited to 'gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py')
-rwxr-xr-xgr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py b/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
index 7bc2425ee..02cdf64cc 100755
--- a/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
+++ b/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
@@ -30,7 +30,9 @@ MAIN_TMPL = """\
io_type=uhd.io_type_t.\$type.type,
num_channels=\$nchan,
)
+\#if \$sd_spec()
self.\$(id).set_subdev_spec(\$sd_spec)
+\#end if
self.\$(id).set_samp_rate(\$samp_rate)
#for $n in range($max_nchan)
\#if \$nchan() > $n