Skip to content
Commit a995d9d7 authored by Mikhail Kushnerov's avatar Mikhail Kushnerov Committed by Anas Nashif
Browse files

kernel: fix k_sleep in no multi-threading mode



Fix k_sleep implementation for no multi-threading mode.

Absolute value of timeout expiration was fed to the k_busy_wait()
function instead of delta value. That caused bug like incrementing of
sleep time in geometric progression (while actual function argument is
constant) during program running.

Signed-off-by: default avatarMikhail Kushnerov <m.kushnerov@yadro.com>
parent c9d6c4c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment