summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
Diffstat (limited to 'grc')
-rw-r--r--grc/blocks/gr_keep_m_in_n.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/grc/blocks/gr_keep_m_in_n.xml b/grc/blocks/gr_keep_m_in_n.xml
index a63ef47a6..35a156176 100644
--- a/grc/blocks/gr_keep_m_in_n.xml
+++ b/grc/blocks/gr_keep_m_in_n.xml
@@ -10,6 +10,8 @@
<import>from gnuradio import gr</import>
<make>gr.keep_m_in_n($type.size, $m, $n, $offset)</make>
<callback>set_offset($offset)</callback>
+ <callback>set_m($m)</callback>
+ <callback>set_n($n)</callback>
<param>
<name>Type</name>
<key>type</key>
@@ -64,11 +66,11 @@
<sink>
<name>in</name>
<type>$type</type>
- <vlen>$n</vlen>
+ <vlen>1</vlen>
</sink>
<source>
<name>out</name>
<type>$type</type>
- <vlen>$m</vlen>
+ <vlen>1</vlen>
</source>
</block>