diff options
author | Josh Blum | 2010-10-18 18:29:20 -0700 |
---|---|---|
committer | Josh Blum | 2010-10-18 18:29:20 -0700 |
commit | 343cba5663d0eefdd3ee3918bef812dc1bd75508 (patch) | |
tree | 70ddc504b664cef8b6681ab8755dbe9df4af5ea9 /gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py | |
parent | 8c6445cb3dd2a8db361203fedf55f3efb6953635 (diff) | |
download | gnuradio-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-x | gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py | 2 |
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 |