summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorTom Rondeau2012-06-10 22:55:46 -0400
committerTom Rondeau2012-06-10 22:55:46 -0400
commit1dcdd0abe1e8c493a5d145ab9feb2006e6bdbb3e (patch)
treeea313803f148298f1ccbc8714af14a2fabae425a /grc
parent0b8a592583845b4989be454083f415488319f367 (diff)
parent3e4f9b9fbf26eee0da87ebdd230df4aae232837f (diff)
downloadgnuradio-1dcdd0abe1e8c493a5d145ab9feb2006e6bdbb3e.tar.gz
gnuradio-1dcdd0abe1e8c493a5d145ab9feb2006e6bdbb3e.tar.bz2
gnuradio-1dcdd0abe1e8c493a5d145ab9feb2006e6bdbb3e.zip
Merge branch 'master-mods'
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>