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

refactor(esp-hal-buzzer): Remove generic timer speed from Buzzer. #11

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

AnthonyGrondin
Copy link
Collaborator

  • Only esp32 supports HighSpeed timer for LEDC. Every device supports LowSpeed.
  • This simplifies the type contraints over a Buzzer instance.

It makes sense to always use LowSpeed considering we operate in the 0-20kHz range

- Only esp32 supports HighSpeed timer for LEDC. Every device supports LowSpeed.
- This simplifies the type contraints over a Buzzer instance.
Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@AnthonyGrondin AnthonyGrondin merged commit f78ff85 into esp-rs:main Nov 11, 2024
14 checks passed
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.

2 participants