summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranastas2008-11-14 00:31:23 +0000
committeranastas2008-11-14 00:31:23 +0000
commitdce791d534f242691b5899544f75b24077ff894e (patch)
tree190218c00be4a6cb2fa101478e5dded9c98146ae
parent7e38bfd2cd47010aaf64d06c38e4bcb6804020e4 (diff)
downloadgnuradio-dce791d534f242691b5899544f75b24077ff894e.tar.gz
gnuradio-dce791d534f242691b5899544f75b24077ff894e.tar.bz2
gnuradio-dce791d534f242691b5899544f75b24077ff894e.zip
added callbacks to trellis_metrics and trellis_viterbi_combined in grc
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9988 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--grc/data/platforms/python/blocks/trellis_metrics_x.xml1
-rw-r--r--grc/data/platforms/python/blocks/trellis_viterbi_combined_xx.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/grc/data/platforms/python/blocks/trellis_metrics_x.xml b/grc/data/platforms/python/blocks/trellis_metrics_x.xml
index 4f35f9de6..2016a34c2 100644
--- a/grc/data/platforms/python/blocks/trellis_metrics_x.xml
+++ b/grc/data/platforms/python/blocks/trellis_metrics_x.xml
@@ -9,6 +9,7 @@
<key>trellis_metrics_x</key>
<import>from gnuradio import trellis</import>
<make>trellis.metrics_$(type)($card, $dim, $table, $metric_type)</make>
+ <callback>set_TABLE($table)</callback>
<param>
<name>Type</name>
<key>type</key>
diff --git a/grc/data/platforms/python/blocks/trellis_viterbi_combined_xx.xml b/grc/data/platforms/python/blocks/trellis_viterbi_combined_xx.xml
index 0a67d0bfc..33dcaaf73 100644
--- a/grc/data/platforms/python/blocks/trellis_viterbi_combined_xx.xml
+++ b/grc/data/platforms/python/blocks/trellis_viterbi_combined_xx.xml
@@ -9,6 +9,7 @@
<key>trellis_viterbi_combined_xx</key>
<import>from gnuradio import trellis</import>
<make>trellis.viterbi_combined_$(type)$(out_type)(trellis.fsm($fsm_args), $block_size, $init_state, $final_state, $dim, $table, $metric_type)</make>
+ <callback>set_TABLE($table)</callback>
<param>
<name>Input Type</name>
<key>type</key>