Skip to content
Commit 4cfd4b53 authored by Jun Lin's avatar Jun Lin Committed by Fabio Baltieri
Browse files

driver: timer: npcx: fix announce/set timer timeout tick



The timer driver doesn't annouce/set the timeout at the tick boundary
but at the absolute next expiration time.
It will cause the accumatlation of the tick drift and cannot pass the
kernel/timer/timer_behavior test suite.
This commit fixes the tick drift problem by annouce the time at the tick
bouandry.

Fixes #59594

Signed-off-by: default avatarJun Lin <CHLin56@nuvoton.com>
parent dfc747d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment