summaryrefslogtreecommitdiff
path: root/docs/esp8266/tutorial/powerctrl.rst
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-01-02 16:35:27 +1100
committerDamien George <damien@micropython.org>2024-05-31 16:44:09 +1000
commit83e82c5ad3fb9e8796d786e01509d264cfb205d3 (patch)
treeed4f8636eef2aaa77dded52f91c27149a5305f34 /docs/esp8266/tutorial/powerctrl.rst
parent74fb42aa82d537b6fefb463907274bd660c6ce8d (diff)
rp2: Refactor to not use pico-sdk alarm pool functions for sleeping.
The best_effort_wfe_or_timeout() and sleep_us() pico-sdk functions use the pico-sdk alarm pool internally, and that has a bug. Some usages inside pico-sdk (notably multicore_lockout_start_blocking()) will still end up calling best_effort_wfe_or_timeout(), although usually with "end_of_time" as the timeout value so it should avoid any alarm pool race conditions. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'docs/esp8266/tutorial/powerctrl.rst')
0 files changed, 0 insertions, 0 deletions