summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_file_source.xml
diff options
context:
space:
mode:
Diffstat (limited to 'grc/blocks/gr_file_source.xml')
-rw-r--r--grc/blocks/gr_file_source.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/blocks/gr_file_source.xml b/grc/blocks/gr_file_source.xml
index fcc7a7040..5f0e16b27 100644
--- a/grc/blocks/gr_file_source.xml
+++ b/grc/blocks/gr_file_source.xml
@@ -9,6 +9,7 @@
<key>gr_file_source</key>
<import>from gnuradio import gr</import>
<make>gr.file_source($type.size*$vlen, $file, $repeat)</make>
+ <callback>open($file, $repeat)</callback>
<param>
<name>File</name>
<key>file</key>