mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 03:23:54 +01:00
commit history final boss
This commit is contained in:
@@ -22,7 +22,7 @@ void tilt_init(TiltCorrectionFilter* filter, float alpha) {
|
||||
filter->dc_estimate = 0.0f;
|
||||
}
|
||||
|
||||
float tilt_correct(TiltCorrectionFilter* filter, float input) {
|
||||
float tilt(TiltCorrectionFilter* filter, float input) {
|
||||
// Track the baseline/DC level
|
||||
filter->dc_estimate = filter->alpha * filter->dc_estimate + (1.0f - filter->alpha) * input;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user