Skip to content
Commit 265d2cfa authored by Jakub Cebulski's avatar Jakub Cebulski Committed by Carles Cufí
Browse files

drivers: litex_timer: Fix IRQ lock intolerance



This reimplements z_timer_cycle_get_32() so it works
when IRQs are locked and solves the hung
k_busy_wait() problem.

Fixes #23622.

Signed-off-by: default avatarJakub Cebulski <jcebulski@internships.antmicro.com>
Signed-off-by: default avatarTomasz Gorochowik <tgorochowik@antmicro.com>
Signed-off-by: default avatarMateusz Holenko <mholenko@antmicro.com>

Co-authored-by: default avatarTomasz Gorochowik <tgorochowik@antmicro.com>
parent 7f6dbccb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment