diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-18 09:05:25 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-18 09:12:55 +0100 |
commit | c2f88ee8bec8cdd0ea573b54aee89a241c7d4deb (patch) | |
tree | 3b311ad8bec8c05bf82e4f7ef77ace6468798fb4 /filter-ewma2 | |
parent | 6167effc23b8ca8a3034f1ab465565f92c621187 (diff) |
plugins: rename check_status -> initialize
It's a contract for plugin invocation that the particular function fills
the role of initialization. Rename accordingly.
Diffstat (limited to 'filter-ewma2')
-rw-r--r-- | filter-ewma2/ftnoir_filter_ewma2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter-ewma2/ftnoir_filter_ewma2.h b/filter-ewma2/ftnoir_filter_ewma2.h index b53037f7..426af0c9 100644 --- a/filter-ewma2/ftnoir_filter_ewma2.h +++ b/filter-ewma2/ftnoir_filter_ewma2.h @@ -25,7 +25,7 @@ public: ewma(); void filter(const double *input, double *output) override; void center() override { first_run = true; } - module_status check_status() override { return status_ok(); } + module_status initialize() override { return status_ok(); } private: // Deltas are smoothed over the last 1/60sec. const double delta_RC = 1./60; |