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

delay-syst-blinky example: us toggle #568

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

rursprung
Copy link
Contributor

as the on & off periods are the same and it doesn't matter what the initial state is we can just use toggle instead of set_high and set_low.
the latter is still present in other examples, e.g. delay-timer-blinky which uses different delays for the on & off periods.

as the on & off periods are the same and it doesn't matter what the
initial state is we can just use `toggle` instead of `set_high` and
`set_low`.
the latter is still present in other examples, e.g. `delay-timer-blinky`
which uses different delays for the on & off periods.
@burrbull
Copy link
Member

bors r+

@bors bors bot merged commit 15134d7 into stm32-rs:master Jan 11, 2023
@rursprung rursprung deleted the simplify-blink-example branch January 11, 2023 10:45
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