We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, When I try to build the code in the thread start exercise, the k_sleep gave error. I found that the parameter k_sleep takes should be in type k_timeout_t (https://docs.zephyrproject.org/apidoc/latest/group__thread__apis.html#ga48d4b041790454da4d68ac8711f29657). And the code can be changed to k_sleep(K_MSEC(500)), or change the define of SLEEPTIME.
zephyr-rtos-tutorial/exercises/threads/thread-start/src/main.c
Line 19 in 36b3f5b
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
When I try to build the code in the thread start exercise, the k_sleep gave error. I found that the parameter k_sleep takes should be in type k_timeout_t (https://docs.zephyrproject.org/apidoc/latest/group__thread__apis.html#ga48d4b041790454da4d68ac8711f29657). And the code can be changed to k_sleep(K_MSEC(500)), or change the define of SLEEPTIME.
zephyr-rtos-tutorial/exercises/threads/thread-start/src/main.c
Line 19 in 36b3f5b
The text was updated successfully, but these errors were encountered: