summaryrefslogtreecommitdiff
path: root/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
diff options
context:
space:
mode:
authorJosh Blum2010-09-23 19:05:10 -0700
committerJosh Blum2010-09-23 19:05:10 -0700
commit1fe3790faed05b92ca4ad3a27da6eb23632d7e57 (patch)
treea0cacc33e46459853e7d51613bcf393fed54f271 /gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
parent2831c9313d09685090cea531a177469b57792c9a (diff)
downloadgnuradio-1fe3790faed05b92ca4ad3a27da6eb23632d7e57.tar.gz
gnuradio-1fe3790faed05b92ca4ad3a27da6eb23632d7e57.tar.bz2
gnuradio-1fe3790faed05b92ca4ad3a27da6eb23632d7e57.zip
uhd: multi channel single usrp source and sink working
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, 1 insertions, 1 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 1ad3c0927..5b3cb5b5a 100755
--- a/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
+++ b/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py
@@ -26,7 +26,7 @@ MAIN_TMPL = """\
<key>uhd_single_usrp_$(sourk)</key>
<category>UHD</category>
<import>from gnuradio import uhd</import>
- <make>uhd.single_usrp_$(sourk)(\$dev_addr, uhd.io_type_t.\$type.type)
+ <make>uhd.single_usrp_$(sourk)(\$dev_addr, uhd.io_type_t.\$type.type, \$nchan)
self.\$(id).set_subdev_spec(\$sd_spec)
self.\$(id).set_samp_rate(\$samp_rate)
#for $n in range($max_nchan)