Skip to content

Conversation

v1nsai
Copy link

@v1nsai v1nsai commented May 6, 2021

Delays were being ignored when functions from this crate were not inlined. Turning on LTO in Cargo profile works too, but this fix works upstream without any changes required to users' Cargo.toml.

@rkarabut
Copy link
Contributor

rkarabut commented Aug 23, 2021

I don't have time to investigate this properly at the moment, but while this indeed seems to be working (until the ~4.3s delay limit is hit, triggering an integer overflow), the code fixing the said overflow in #16 somehow also works without forcing the inlining. I'd really like to know why :)

@stappersg stappersg merged commit 3b80ff7 into avr-rust:master Jun 8, 2022
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