commit | 11cb1cf336bdd871a017dc157650bcde3cd0210c | [log] [tgz] |
---|---|---|
author | Marcin Niestroj <m.niestroj@grinn-global.com> | Thu Dec 17 19:34:24 2020 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Dec 18 14:03:25 2020 -0500 |
tree | 4c92a998b4cc12a2fee91e3cdd87dfdb52055455 | |
parent | 3bf526beeaf39030c453c30b85d8b5d5c8d2013d [diff] |
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: 7a815d5d993d ("kernel: sched: Use k_ticks_t in z_tick_sleep") Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>