summaryrefslogtreecommitdiff
path: root/gr-blocks/grc
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2018-02-08 13:50:04 -0500
committerMartin Braun <martin.braun@ettus.com>2018-02-14 21:04:55 -0800
commit573d4c89f9ef4151b76eec8487c71adf4bbeebb0 (patch)
treea7cc567d5bd80624f51ac269d415ffc4e67afc2f /gr-blocks/grc
parentf783dd54a2a81bbd7a03b17e26a5563199c52015 (diff)
blocks: add threshold set and get to plateau detector
Also add the callback to the GRC block.
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r--gr-blocks/grc/blocks_plateau_detector_fb.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_plateau_detector_fb.xml b/gr-blocks/grc/blocks_plateau_detector_fb.xml
index 90f67a4cf5..77d0183af5 100644
--- a/gr-blocks/grc/blocks_plateau_detector_fb.xml
+++ b/gr-blocks/grc/blocks_plateau_detector_fb.xml
@@ -4,6 +4,7 @@
<key>blocks_plateau_detector_fb</key>
<import>from gnuradio import blocks</import>
<make>blocks.plateau_detector_fb($max_len, $threshold)</make>
+ <callback>set_threshold($threshold)</callback>
<param>
<name>Max. plateau length</name>
<key>max_len</key>