Skip to content
Commit 11cb1cf3 authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Anas Nashif
Browse files

kernel: sched: fix legacy timeout calculation in z_tick_sleep



Ticks should be assigned directly to timeout value in case of
CONFIG_LEGACY_TIMEOUT_API=y, just as they were before referenced patch.

Fixes: 7a815d5d ("kernel: sched: Use k_ticks_t in z_tick_sleep")
Signed-off-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
parent 3bf526be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment