Skip to content

Commit

Permalink
system: light and deep sleep api
Browse files Browse the repository at this point in the history
see #2578

* deep sleep api without ESP class dependency
* rf + cpu light sleep for cases when deep sleep cannot be used
* generic time-based light sleep; nonos does not halt cpu,
  unlike the wakeup variant. timers also keep going, so
  this has to be used with extra care

pending some 'deferred' variant and before and after sleep actions
  • Loading branch information
mcspr committed Mar 15, 2023
1 parent 28f3b7d commit 2f6d7ce
Show file tree
Hide file tree
Showing 4 changed files with 385 additions and 9 deletions.

0 comments on commit 2f6d7ce

Please sign in to comment.