summaryrefslogtreecommitdiff
path: root/gr-uhd/grc/gen_uhd_usrp_blocks.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-04-08 17:22:54 +0200
committerMartin Braun <martin.braun@ettus.com>2014-04-26 23:31:55 +0200
commit284b75ff1a34e1a02245e4c759c6fa48dc2f4c17 (patch)
tree44433f15d5f524f064f8986fe2b72f942a1780e7 /gr-uhd/grc/gen_uhd_usrp_blocks.py
parentbfd518302421731fbdf074554d9a573f2d23a6b5 (diff)
uhd: Added freq hopping example, improved tag handling in usrp_sink
Diffstat (limited to 'gr-uhd/grc/gen_uhd_usrp_blocks.py')
-rw-r--r--gr-uhd/grc/gen_uhd_usrp_blocks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-uhd/grc/gen_uhd_usrp_blocks.py b/gr-uhd/grc/gen_uhd_usrp_blocks.py
index e6e3201cc7..94a1ed84c7 100644
--- a/gr-uhd/grc/gen_uhd_usrp_blocks.py
+++ b/gr-uhd/grc/gen_uhd_usrp_blocks.py
@@ -27,8 +27,8 @@ MAIN_TMPL = """\
<import>from gnuradio import uhd</import>
<import>import time</import>
<make>uhd.usrp_$(sourk)(
- device_addr=\$dev_addr,
- stream_args=uhd.stream_args(
+ \$dev_addr,
+ uhd.stream_args(
cpu_format="\$type",
\#if \$otw()
otw_format=\$otw,
@@ -438,7 +438,7 @@ LENTAG_PARAM = """ <param>
LENTAG_ARG = """
#if $len_tag_name()
- length_tag_name=$len_tag_name,
+ $len_tag_name,
#end if"""
def parse_tmpl(_tmpl, **kwargs):