summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_keep_m_in_n.xml
diff options
context:
space:
mode:
authorTom Rondeau2012-06-10 22:54:40 -0400
committerTom Rondeau2012-06-10 22:54:40 -0400
commit3e4f9b9fbf26eee0da87ebdd230df4aae232837f (patch)
tree89cfe5fee00496674594c6251906584c3ff949cd /grc/blocks/gr_keep_m_in_n.xml
parent9dc190127f3cc6f4688feaac514a0b887c531740 (diff)
parentc8c5158133fb7a20413e42f59632930758561ad9 (diff)
downloadgnuradio-3e4f9b9fbf26eee0da87ebdd230df4aae232837f.tar.gz
gnuradio-3e4f9b9fbf26eee0da87ebdd230df4aae232837f.tar.bz2
gnuradio-3e4f9b9fbf26eee0da87ebdd230df4aae232837f.zip
Merge branch 'master-mods' of git://github.com/osh/gnuradio-1 into master-mods
Diffstat (limited to 'grc/blocks/gr_keep_m_in_n.xml')
-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>