kopia lustrzana https://github.com/mobilinkd/tnc3-firmware
Add reset() function to IIR filter.
rodzic
8423214130
commit
df289a3a45
|
@ -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