summaryrefslogtreecommitdiff
path: root/docs/esp8266/tutorial/powerctrl.rst
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-04-28 10:50:09 +1000
committerDamien George <damien@micropython.org>2021-04-30 15:13:43 +1000
commit7e549b6718e80136b03074765f1d4add209a21a5 (patch)
tree8924933c5c093f9df7e5fbe96377a19902fbd33b /docs/esp8266/tutorial/powerctrl.rst
parenta41cd150be01adc59828ead26a01a9d9324773e1 (diff)
py/profile: Use mp_handle_pending() to raise pending exception.
If MICROPY_ENABLE_SCHEDULER is enabled then MP_STATE_VM(sched_state) must be updated after handling the pending exception, which is done by the mp_handle_pending() function. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp8266/tutorial/powerctrl.rst')
0 files changed, 0 insertions, 0 deletions