Skip to content
Commit 52284f57 authored by Kevin Wang's avatar Kevin Wang Committed by Fabio Baltieri
Browse files

drivers: counter: fix the bug for atcpit100



Let the callback execute after the interrupt status has cleared.
Because if the callback is executed before the interrupt status
is cleared, it might cause subsequent counter interrupts to fail to
trigger due to the callback function taking too long to execute.

Signed-off-by: default avatarKevin Wang <kevinwang821020@google.com>
parent 274507fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment