Skip to content
Commit 74be1616 authored by Alexandre Bourdiol's avatar Alexandre Bourdiol Committed by Maureen Helm
Browse files

tests: kernel: timer: timer_api: reorder test_timer_remaining step



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: default avatarAlexandre Bourdiol <alexandre.bourdiol@st.com>
parent 4133cb5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment