Skip to content
Commit d20ab8c6 authored by Andy Ross's avatar Andy Ross Committed by Carles Cufí
Browse files

subsys/pm: Use correct timeout API



The z_set_timeout_expiry() function is a wrapper provided in the
timeout subsystem that has some corrections for timelicing.  But the
suspend code doesn't care; by definition there are no active threads
that might be timeslicing at the point where the OS is suspending.
Use the lower-level timer driver API instead.

(z_set_timeout_expiry() is also about to disappear)

Signed-off-by: default avatarAndy Ross <andyross@google.com>
parent 3cd58c29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment