commit | d20ab8c6093ade09855aa62126c357ef876b10b3 | [log] [tgz] |
---|---|---|
author | Andy Ross <andyross@google.com> | Mon Mar 06 14:28:29 2023 -0800 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Mar 09 09:21:12 2023 +0100 |
tree | d92a54c14ceab0e4e46bd7cb22d59e2f615b47d0 | |
parent | 3cd58c29bf466a7d2a1ca5f8b4428b01ad1dcbda [diff] |
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: Andy Ross <andyross@google.com>