py/scheduler: Add missing MICROPY_WRAP_MP_SCHED_EXCEPTION usage.

This was missed in commit 7cbf826a95.

Signed-off-by: Damien George <damien@micropython.org>
pull/7199/head
Damien George 2021-04-30 16:48:29 +10:00
rodzic dd5c831a0b
commit aa061ae391
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -28,7 +28,7 @@
#include "py/runtime.h"
void mp_sched_exception(mp_obj_t exc) {
void MICROPY_WRAP_MP_SCHED_EXCEPTION(mp_sched_exception)(mp_obj_t exc) {
MP_STATE_VM(mp_pending_exception) = exc;
#if MICROPY_ENABLE_SCHEDULER
if (MP_STATE_VM(sched_state) == MP_SCHED_IDLE) {