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

sleep_ms delays microseconds not milliseconds #18

Open
keck9939 opened this issue May 10, 2024 · 1 comment
Open

sleep_ms delays microseconds not milliseconds #18

keck9939 opened this issue May 10, 2024 · 1 comment

Comments

@keck9939
Copy link

mss_util.c contains a routine void sleep_ms(uint64_t msecs), which from its name and signature would imply that it will delay for the specified number of milliseconds. However, it actually seems to delay for the specified number of microseconds. Either it should be renamed, or modified so that it works in milliseconds.

This applies to the 2024.1 tag of the platform repository and effects the 2024.04 tag of the discovery-kit-reference design (and probably most of the code examples).

@mallynch
Copy link
Contributor

Thanks for pointing out, we will fix this.

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

2 participants