summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim O'Shea <tim.oshea753@gmail.com>2013-05-16 18:34:08 +0100
committerJohnathan Corgan <johnathan@corganlabs.com>2013-05-16 15:00:57 -0700
commitb1f802015fe5ce88c45f68f09d81fce0cdb75411 (patch)
tree623fd77af14b9b6ac2f89de0441731cb4cab4021
parenteb783d69051edf970f1059795b92fd03506c9cf0 (diff)
blocks: add set_msg callback and api update to grc block_message_probe
-rw-r--r--gr-blocks/grc/blocks_message_strobe.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-blocks/grc/blocks_message_strobe.xml b/gr-blocks/grc/blocks_message_strobe.xml
index 8cd39a8bf2..8937594320 100644
--- a/gr-blocks/grc/blocks_message_strobe.xml
+++ b/gr-blocks/grc/blocks_message_strobe.xml
@@ -10,10 +10,11 @@
<import>from gnuradio import blocks</import>
<import>import pmt</import>
<make>blocks.message_strobe($msg, $period)</make>
+ <callback>set_msg($msg)</callback>
<param>
<name>Message PMT</name>
<key>msg</key>
- <value>pmt.pmt_intern("TEST")</value>
+ <value>pmt.intern("TEST")</value>
<type>raw</type>
</param>
<param>