summaryrefslogtreecommitdiff
path: root/gr-blocks/grc
diff options
context:
space:
mode:
authorAchilleas Anastasopoulos <anastas@umich.edu>2015-04-22 11:00:50 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2015-04-26 15:35:45 -0700
commitabb3e0643ae245f08b7e7bcdaf3b8e8f0c312908 (patch)
treed629fa7c3a05708289ffb6a01dc87a2d9937aa6f /gr-blocks/grc
parentc0a88bebb5ac163dd774f113b3eef71ed30221ea (diff)
blocks: better implementation of peak_detector2. Address #783.
In the original form, work function in peak_detector2 block sometimes returns -1. For more details, see the mailing list thread: - http://lists.gnu.org/archive/html/discuss-gnuradio/2015-04/msg00197.html
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r--gr-blocks/grc/blocks_peak_detector2_fb.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_peak_detector2_fb.xml b/gr-blocks/grc/blocks_peak_detector2_fb.xml
index 584e7a1fb3..0b25e01680 100644
--- a/gr-blocks/grc/blocks_peak_detector2_fb.xml
+++ b/gr-blocks/grc/blocks_peak_detector2_fb.xml
@@ -38,4 +38,9 @@
<name>out</name>
<type>byte</type>
</source>
+ <source>
+ <name>debug</name>
+ <type>float</type>
+ <optional>1</optional>
+ </source>
</block>