We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70916e7 commit 3a58885Copy full SHA for 3a58885
subsys/pm/pm.c
@@ -210,7 +210,8 @@ bool pm_system_suspend(int32_t ticks)
210
}
211
#endif
212
213
- if (ticks != K_TICKS_FOREVER) {
+ if ((z_cpus_pm_state[id].exit_latency_us != 0) &&
214
+ (ticks != K_TICKS_FOREVER)) {
215
/*
216
* We need to set the timer to interrupt a little bit early to
217
* accommodate the time required by the CPU to fully wake up.
0 commit comments