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 not working correctly? #54

Closed
nickray opened this issue Apr 16, 2019 · 4 comments
Closed

Delay not working correctly? #54

nickray opened this issue Apr 16, 2019 · 4 comments

Comments

@nickray
Copy link
Member

nickray commented Apr 16, 2019

In an example of mine, Delay's delay_ms duration depends on the rcc.cfg.hclk setting, is this a known issue? If so I'll look into it.

@mathk
Copy link
Contributor

mathk commented May 6, 2019

Delay depend on sysclk: https://github.com/stm32-rs/stm32l4xx-hal/blob/master/src/delay.rs#L19 I don't see your issue?

@MabezDev
Copy link
Member

Are you still having an issue @nickray?

@nickray
Copy link
Member Author

nickray commented Aug 28, 2019

Will check.

@nickray
Copy link
Member Author

nickray commented Aug 31, 2019

The issue was that delay_ms(X) did not delay for X ms. I can't reconstruct anymore, so closing. If anyone else has the issue, re-open or start a new issue.

@nickray nickray closed this as completed Aug 31, 2019
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

3 participants