diff options
| author | Damien George <damien@micropython.org> | 2021-04-28 10:50:09 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-04-30 15:13:43 +1000 |
| commit | 7e549b6718e80136b03074765f1d4add209a21a5 (patch) | |
| tree | 8924933c5c093f9df7e5fbe96377a19902fbd33b /py/emitcommon.c | |
| parent | a41cd150be01adc59828ead26a01a9d9324773e1 (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 'py/emitcommon.c')
0 files changed, 0 insertions, 0 deletions
