diff options
author | Jon Szymaniak <jon.szymaniak@gmail.com> | 2015-02-03 14:01:03 -0500 |
---|---|---|
committer | Jon Szymaniak <jon.szymaniak@gmail.com> | 2015-02-25 19:48:30 -0500 |
commit | 7ded1774f6fd44301ce71740837320447eddb6dd (patch) | |
tree | 6915ed6a9ab24dfbc4f4a0a3fce1b131c65fa3f6 | |
parent | 8ecfd13af0f55818d178fde17182de12b60ba4f1 (diff) |
analog: Made CTCSS squelch find_tone() a static member function
This function doesn't need to operate on any member variables.
-rw-r--r-- | gr-analog/lib/ctcss_squelch_ff_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-analog/lib/ctcss_squelch_ff_impl.h b/gr-analog/lib/ctcss_squelch_ff_impl.h index c0db6030d3..ee0cfa76e6 100644 --- a/gr-analog/lib/ctcss_squelch_ff_impl.h +++ b/gr-analog/lib/ctcss_squelch_ff_impl.h @@ -42,7 +42,7 @@ namespace gr { fft::goertzel *d_goertzel_c; fft::goertzel *d_goertzel_r; - int find_tone(float freq); + static int find_tone(float freq); protected: virtual void update_state(const float &in); |