timer: arm: Fix idle usage option
idle is only considered in other timer implementations if ticks == K_TICKS_FOREVER but in arm_arch_timer. Just fix it. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
e58024b45a
commit
345849052a
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ void z_clock_set_timeout(int32_t ticks, bool idle)
|
|||
|
||||
#if defined(CONFIG_TICKLESS_KERNEL)
|
||||
|
||||
if (idle) {
|
||||
if (ticks == K_TICKS_FOREVER && idle) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue