Previously, passing K_FOREVER to k_sleep() would return immediately. Forever is a long time. Even if woken up at some point, we still had forever to sleep, so return K_FOREVER in this case. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
|---|---|---|
| .. | ||
| main.c | ||
| usleep.c | ||