diff options
author | Tim O'Shea <tim.oshea753@gmail.com> | 2013-05-16 18:34:08 +0100 |
---|---|---|
committer | Tim O'Shea <tim.oshea753@gmail.com> | 2013-05-16 18:34:08 +0100 |
commit | 419b761a1a6b3da3de1d9f15d5022aeab3ddf8b1 (patch) | |
tree | 8126e281c6892347e3672f0f14a52ba81348b2e0 | |
parent | 842b8f4d13a68f880bb27b74f33f5c05b4439237 (diff) |
blocks: add set_msg callback and api update to grc block_message_probe
-rw-r--r-- | gr-blocks/grc/blocks_message_strobe.xml | 3 |
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> |