Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ADCInput clocks for multiple inputs #2755

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Fix ADCInput clocks for multiple inputs #2755

merged 1 commit into from
Jan 14, 2025

Conversation

earlephilhower
Copy link
Owner

When multiple inputs were active, the frequency was being scaled two times resulting in incorrect sampling speed. Correct to only scale the calculation and not the stored value (which is used in begin).

Fixes #2754

When multiple inputs were active, the frequency was being scaled two
times resulting in incorrect sampling speed.  Correct to only scale
the calculation and not the stored value (which is used in `begin`).

Fixes #2754
@earlephilhower earlephilhower merged commit 0655b7d into master Jan 14, 2025
26 checks passed
@earlephilhower earlephilhower deleted the a2d branch January 14, 2025 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I2S.h and ADCInput.h frequencies are interacting
1 participant