summaryrefslogtreecommitdiff
path: root/py/scheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/scheduler.c')
-rw-r--r--py/scheduler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/scheduler.c b/py/scheduler.c
index 947510c68..0671a34a8 100644
--- a/py/scheduler.c
+++ b/py/scheduler.c
@@ -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) {