doc: k_sleep does not take raw integers
Using k_msleep seems easier than k_sleep(K_MSEC(1000)); Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
This commit is contained in:
parent
dbbe80226d
commit
0063df2c54
|
@ -274,7 +274,7 @@ up from where it was before restart.
|
|||
|
||||
printk("foo: %d\n", foo_val);
|
||||
|
||||
k_sleep(1000);
|
||||
k_msleep(1000);
|
||||
sys_reboot(SYS_REBOOT_COLD);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue