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

msleep has no function prototype #305

Open
digitalnumeric opened this issue Aug 30, 2024 · 1 comment
Open

msleep has no function prototype #305

digitalnumeric opened this issue Aug 30, 2024 · 1 comment

Comments

@digitalnumeric
Copy link

msleep() is listed as supported by XilTimer, but its prototype is missing from sleep.h.
Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

XilTimer.c has a msleep() function: xiltimer.c on Github
void msleep(unsigned long mseconds) { XilTimer_Sleep(mseconds, XTIMER_DELAY_MSEC); }

Prototype missing from XilTimer's sleep.h (as well as other sleep.h files elsewhere):
XilTimer's sleep.h on Github

Reference to where this was reported on the forums earlier this year:
Vitis Unified msleep() function missing from sleep.h but present in xiltimer.c

@anirudha1977
Copy link
Contributor

Thanks.
We will make the corrections.

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