Filter: revert AP_Math class change
This commit is contained in:
parent
bcc6c7d380
commit
f9114f849b
@ -25,7 +25,7 @@
|
||||
|
||||
float DigitalBiquadFilter::apply(float sample, const struct biquad_params ¶ms)
|
||||
{
|
||||
if(AP_Math::is_zero(params.cutoff_freq) || AP_Math::is_zero(params.sample_freq)) {
|
||||
if(is_zero(params.cutoff_freq) || is_zero(params.sample_freq)) {
|
||||
return sample;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user