summaryrefslogtreecommitdiff
path: root/gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-06-07 08:34:26 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2013-06-07 11:41:27 -0400
commitc25304bf1c87f0044a34188d51142b8a7e2b4378 (patch)
treeefca7e9584035a95a0fdaa140956a526e195863f /gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h
parentfed9214214380a1d8ce3aef8c3a953e0490adb1f (diff)
blocks: plateau_detector_fb is now a gr_block and forecasts
The detector actually could return 0 with insufficient input. The forecast always requires at least 2*d_max_len. However, forecast could be conditionalized to only require this based on the last threshold detected.
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h')
-rw-r--r--gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h b/gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h
index 3f5ea189e9..cb43625c1f 100644
--- a/gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h
+++ b/gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h
@@ -51,7 +51,7 @@ namespace gr {
* An implicit hysteresis is provided by the fact that after detecting one plateau,
* it waits at least max_len samples before the next plateau can be detected.
*/
- class BLOCKS_API plateau_detector_fb : virtual public sync_block
+ class BLOCKS_API plateau_detector_fb : virtual public block
{
public:
typedef boost::shared_ptr<plateau_detector_fb> sptr;