0
1
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:
Kuba
2025-08-08 23:01:23 +02:00
committed by GitHub
parent 3139a525b1
commit 1ec3ee9466

View File

@@ -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;