Xilinx / embeddedsw

Xilinx Embedded Software (embeddedsw) Development
Other
945 stars 1.07k forks source link

msleep has no function prototype #305

Open digitalnumeric opened 2 months ago

digitalnumeric commented 2 months ago

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 commented 2 months ago

Thanks. We will make the corrections.