-
Notifications
You must be signed in to change notification settings - Fork 30
blinking to fast #34
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
Comments
I've added [profiles.release]
lto = true as per this suggestion I've found on reddit and now the code in this repo makes the arduino blink as expected |
That suggestion worked for me, although it looks like the correct key is I used: [profile.release]
lto = true See this section in The Cargo Book. |
jwillikers
added a commit
to jwillikers/blink
that referenced
this issue
Jun 4, 2022
The LED blinks much too rapidly without LTO enabled. With LTO enabled, the LED blinks 1 second on, 1 second off. Fixes avr-rust#34.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, the led is blinking too fast.
This is probably due to this bug on avr-delay ?
It worked well with the previous "hacky loop"
The text was updated successfully, but these errors were encountered: