diff options
Diffstat (limited to 'grc')
-rw-r--r-- | grc/data/platforms/python/blocks/gr_delay.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grc/data/platforms/python/blocks/gr_delay.xml b/grc/data/platforms/python/blocks/gr_delay.xml index b9d429798..64a774def 100644 --- a/grc/data/platforms/python/blocks/gr_delay.xml +++ b/grc/data/platforms/python/blocks/gr_delay.xml @@ -8,7 +8,8 @@ <name>Delay</name> <key>gr_delay</key> <import>from gnuradio import gr</import> - <make>gr.head($type.size*$vlen, $delay)</make> + <make>gr.delay($type.size*$vlen, $delay)</make> + <callback>set_delay($delay)</callback> <param> <name>Type</name> <key>type</key> |