diff options
author | Josh Blum | 2010-10-18 16:49:08 -0700 |
---|---|---|
committer | Josh Blum | 2010-10-18 16:49:08 -0700 |
commit | 7f46efca9cb0c87e9130c117ac41650f6e0c25cc (patch) | |
tree | 09c6b235935167f6fe022739c67696c12ad4dcc5 /gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py | |
parent | 1e5db4248e2488e0f1b44ac1405d78e16c2408d8 (diff) | |
download | gnuradio-7f46efca9cb0c87e9130c117ac41650f6e0c25cc.tar.gz gnuradio-7f46efca9cb0c87e9130c117ac41650f6e0c25cc.tar.bz2 gnuradio-7f46efca9cb0c87e9130c117ac41650f6e0c25cc.zip |
uhd: renamed make function params, cleanup, clock config for multi usrp
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 | 6 |
1 files changed, 5 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 5b87719e5..4d645afe1 100755 --- a/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py +++ b/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py @@ -25,7 +25,11 @@ MAIN_TMPL = """\ <name>UHD: Single USRP $sourk.title()</name> <key>uhd_single_usrp_$(sourk)</key> <import>from gnuradio import uhd</import> - <make>uhd.single_usrp_$(sourk)(\$dev_addr, uhd.io_type_t.\$type.type, \$nchan) + <make>uhd.single_usrp_$(sourk)( + device_addr=\$dev_addr, + io_type=uhd.io_type_t.\$type.type, + num_channels\$nchan, +) self.\$(id).set_subdev_spec(\$sd_spec) self.\$(id).set_samp_rate(\$samp_rate) #for $n in range($max_nchan) |