kopia lustrzana https://github.com/mobilinkd/NucleoTNC
Add reset() function to IIR filter.
rodzic
a8296cbdca
commit
59783338c8
|
@ -28,6 +28,8 @@ struct IirFilter {
|
|||
|
||||
static constexpr size_t size() { return N; }
|
||||
|
||||
void reset() { history_.fill(0.0f); }
|
||||
|
||||
float operator()(float input)
|
||||
{
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue