Open KushnerovMikhail opened 2 days ago
Hi @KushnerovMikhail! We appreciate you submitting your first issue for our open-source project. 🌟
Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙
Describe the bug Bug in
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.
Suggested solution
80979
To Reproduce
hello_world
sample source with simple code:int main (void) { uint32_t new_ticks = 0; uint32_t old_ticks = sys_clock_tick_get_32();
}
100 200 400 800 ...