diff options
author | Tom Rondeau <tom@trondeau.com> | 2015-02-04 13:08:15 +0000 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2015-02-04 13:08:15 +0000 |
commit | 25f88309daa2c4c347b8e1d27189c9a237310db2 (patch) | |
tree | be4293a32effb4c2743c1928b724e06ab7aab689 /gr-blocks/include | |
parent | c815a018b9ee2e072239f900f1eb08000c18194d (diff) |
blocks: the API for the peak_detector blocks incorrectly uses int instead of float for setting alpha.
Diffstat (limited to 'gr-blocks/include')
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/peak_detector_XX.h.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/peak_detector_XX.h.t b/gr-blocks/include/gnuradio/blocks/peak_detector_XX.h.t index bc743571fc..2885a9b8ff 100644 --- a/gr-blocks/include/gnuradio/blocks/peak_detector_XX.h.t +++ b/gr-blocks/include/gnuradio/blocks/peak_detector_XX.h.t @@ -89,7 +89,7 @@ namespace gr { /*! \brief Set the running average alpha * \param alpha new alpha for running average */ - virtual void set_alpha(int alpha) = 0; + virtual void set_alpha(float alpha) = 0; /*! \brief Get the threshold factor value for the rise time * \return threshold factor |