diff options
author | Josh Blum | 2010-10-18 16:13:10 -0700 |
---|---|---|
committer | Josh Blum | 2010-10-18 16:13:10 -0700 |
commit | 1e5db4248e2488e0f1b44ac1405d78e16c2408d8 (patch) | |
tree | b80ea578d1c6306e7c70296316c2e7cd4a7fe50d /gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py | |
parent | d029af43c3367a4611185ade70639cc6b7cc5e3d (diff) | |
download | gnuradio-1e5db4248e2488e0f1b44ac1405d78e16c2408d8.tar.gz gnuradio-1e5db4248e2488e0f1b44ac1405d78e16c2408d8.tar.bz2 gnuradio-1e5db4248e2488e0f1b44ac1405d78e16c2408d8.zip |
uhd: work on multi usrp blocks, use block tree to categorize blocks, deprecate mimo blocks
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 | 3 |
1 files changed, 1 insertions, 2 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 5b3cb5b5a..5b87719e5 100755 --- a/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py +++ b/gr-uhd/grc/gen_uhd_single_usrp_blocks_xml.py @@ -24,7 +24,6 @@ MAIN_TMPL = """\ <block> <name>UHD: Single USRP $sourk.title()</name> <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, \$nchan) self.\$(id).set_subdev_spec(\$sd_spec) @@ -115,7 +114,7 @@ self.\$(id).set_antenna(\$ant$(n), $n) </param> $params <check>$max_nchan >= \$nchan</check> - <check>\$nchan >= 0</check> + <check>\$nchan > 0</check> <check>(len((\$sd_spec).split()) or 1) == \$nchan</check> <$sourk> <name>$direction</name> |