diff options
author | Josh Blum | 2010-09-23 19:05:10 -0700 |
---|---|---|
committer | Josh Blum | 2010-09-23 19:05:10 -0700 |
commit | 1fe3790faed05b92ca4ad3a27da6eb23632d7e57 (patch) | |
tree | a0cacc33e46459853e7d51613bcf393fed54f271 /gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py | |
parent | 2831c9313d09685090cea531a177469b57792c9a (diff) | |
download | gnuradio-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-x | gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py | 2 |
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) |