mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
Move init_timer_data() out of k_usleep() tick alignment. Compute rem_ticks just after busy_wait_ms() to avoid slew due to 'now' and 'rem_ms' computations. With slow CPU 32MHz: -2 Ticks. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>