summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-blocks/grc/blocks_tag_object.xml6
-rw-r--r--gr-blocks/grc/blocks_vector_source_x.xml2
2 files changed, 2 insertions, 6 deletions
diff --git a/gr-blocks/grc/blocks_tag_object.xml b/gr-blocks/grc/blocks_tag_object.xml
index d2ef9fc41f..7352d801a0 100644
--- a/gr-blocks/grc/blocks_tag_object.xml
+++ b/gr-blocks/grc/blocks_tag_object.xml
@@ -10,35 +10,31 @@
<import>import pmt</import>
<var_make>self.$(id) = $(id) = gr.tag_utils.python_to_tag(($offset, $key, $value, $src))</var_make>
<make></make>
-
+ <callback>self.set_$(id)(gr.tag_utils.python_to_tag(($offset, $key, $value, $src)))</callback>
<param>
<name>Offset</name>
<key>offset</key>
<value>0</value>
<type>int</type>
</param>
-
<param>
<name>Key</name>
<key>key</key>
<value>pmt.intern("key")</value>
<type>raw</type>
</param>
-
<param>
<name>Value</name>
<key>value</key>
<value>pmt.intern("value")</value>
<type>raw</type>
</param>
-
<param>
<name>Source ID</name>
<key>src</key>
<value>pmt.intern("src")</value>
<type>raw</type>
</param>
-
<doc>
This block creates a tag object. While tags are based on an
absolute offset, this is based on a relative offset that must be
diff --git a/gr-blocks/grc/blocks_vector_source_x.xml b/gr-blocks/grc/blocks_vector_source_x.xml
index c8714978ae..0417baa34a 100644
--- a/gr-blocks/grc/blocks_vector_source_x.xml
+++ b/gr-blocks/grc/blocks_vector_source_x.xml
@@ -9,7 +9,7 @@
<key>blocks_vector_source_x</key>
<import>from gnuradio import blocks</import>
<make>blocks.vector_source_$(type.fcn)($vector, $repeat, $vlen, $tags)</make>
- <callback>set_data($vector)</callback>
+ <callback>set_data($vector, $tags)</callback>
<param>
<name>Output Type</name>
<key>type</key>