summaryrefslogtreecommitdiff
path: root/gr-blocks/grc
diff options
context:
space:
mode:
authorHåkon Vågsether <haakonsv@gmail.com>2018-12-02 21:58:11 +0100
committerHåkon Vågsether <haakonsv@gmail.com>2018-12-18 23:46:09 +0100
commitc938d168478efbe59a1f54cbf3e10afe54a307b3 (patch)
tree439d5a8a34d266605ed7e7bb09003f0c5b8888e2 /gr-blocks/grc
parent4c4cfa3af3a48121b6107ad44b33e1ab88f619eb (diff)
Fix C++ hier block generation
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r--gr-blocks/grc/blocks_plateau_detector_fb.block.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_plateau_detector_fb.block.yml b/gr-blocks/grc/blocks_plateau_detector_fb.block.yml
index 7d0ed32649..d8397719bb 100644
--- a/gr-blocks/grc/blocks_plateau_detector_fb.block.yml
+++ b/gr-blocks/grc/blocks_plateau_detector_fb.block.yml
@@ -22,6 +22,8 @@ outputs:
templates:
imports: from gnuradio import blocks
make: blocks.plateau_detector_fb(${max_len}, ${threshold})
+ callbacks:
+ - set_threshold(${threshold})
cpp_templates:
includes: ['#include <gnuradio/blocks/plateau_detector_fb.h>']