kernel: fix typo
Change-Id: I5a9e53100dcac9b78cae655c3c68444357832094 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
8a894e3109
commit
5596f78c08
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ void k_sleep(int32_t duration)
|
|||
|
||||
K_DEBUG("thread %p for %d ns\n", _current, duration);
|
||||
|
||||
/* wait of 0 ns is treated as a 'yield' */
|
||||
/* wait of 0 ms is treated as a 'yield' */
|
||||
if (duration == 0) {
|
||||
k_yield();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue