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

Cancelling Periodic timers #65

Closed
jonas-schievink opened this issue Mar 25, 2018 · 0 comments
Closed

Cancelling Periodic timers #65

jonas-schievink opened this issue Mar 25, 2018 · 0 comments

Comments

@jonas-schievink
Copy link
Contributor

Currently, there is no way to stop a timer once started. This isn't too bad for simple CountDown timers, but Periodic timers will keep running indefinitely. It would be nice if there was a way to cancel a running timer again.

The simplest solution would probably be to add a cancel method to CountDown, but this would break all implementations.

peckpeck pushed a commit to peckpeck/embedded-hal that referenced this issue Nov 10, 2022
65: SysTimer default r=posborne a=eldruin

Since it is considered best-practice to have `Default` when you have `new()`.

Co-authored-by: Diego Barrios Romero <[email protected]>
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

No branches or pull requests

1 participant