commit | a995d9d76f9876595c9e7736f48b673767c3a35a | [log] [tgz] |
---|---|---|
author | Mikhail Kushnerov <m.kushnerov@yadro.com> | Wed Nov 06 11:26:36 2024 +0300 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Nov 16 14:07:41 2024 -0500 |
tree | 0ed307f20fa56115425efeae3a7d584bcd363c1b | |
parent | c9d6c4c744fc932d8b848c30250eeead9d1fd8c4 [diff] |
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: Mikhail Kushnerov <m.kushnerov@yadro.com>