You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the define LPTICKER_DELAY_TICKS is set deep sleep can be randomly
disallowed when using the low power ticker. This is because a Timer
object, which locks deep sleep, is used to protect from back-to-back
writes to lp tickers which can't support that.
This patch updates the function sleep_manager_can_deep_sleep() to
return that deep sleep is allowed if only the lp ticker's Timeout
object is locking deep sleep. This allows tests which assert that
deep sleep should be allowed to pass.
0 commit comments