Skip to content
Commit e995c27b authored by Piotr Zięcik's avatar Piotr Zięcik Committed by Anas Nashif
Browse files

kernel: Do not use fixed list of "good" sys_clock_ticks_per_sec values.



This commit removes fixed list of "good" sys_clock_ticks_per_sec values
which usage results in integer _ms_per_tick value.

Instead of using the list, simply check if MSEC_PER_SEC could be divided
without remainder by sys_clock_ticks_per_sec.

Signed-off-by: default avatarPiotr Zięcik <piotr.ziecik@nordicsemi.no>
parent fe2ac39b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment