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

Type-erase timers by default #2136

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Type-erase timers by default #2136

wants to merge 5 commits into from

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Sep 10, 2024

A bit of an experimental PR, trying to give timers the same treatment as GPIOs. Unfortunately due to async timers, this isn't exactly the same changeset. Internal code doesn't use this, and one test regressed to use new_typed because not every Timer can currently be turned into an AnyTimer, but I'm still interested whether this idea is worth pursuing outside of GPIO-land, too.

esp-hal/CHANGELOG.md Outdated Show resolved Hide resolved
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.

3 participants