Fix ADCInput clocks for multiple inputs #2755

Merged
earlephilhower merged 1 commits from a2d into master 2025-01-15 02:58:45 +03:00
earlephilhower commented 2025-01-15 02:45:43 +03:00 (Migrated from github.com)

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
Sign in to join this conversation.