diff options
author | Damien George <damien@micropython.org> | 2021-04-28 10:57:34 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-04-30 15:13:43 +1000 |
commit | e9e9c76ddf131f8e50b0ae2d44501d3cd88537ef (patch) | |
tree | f9a89b19b8c1b74fd6c6f2ba004dcf174e6c4f1e /py/scheduler.c | |
parent | bd54eb566f85293279d02d0a663c7e4d9f59e660 (diff) |
all: Rename mp_keyboard_interrupt to mp_sched_keyboard_interrupt.
To match mp_sched_exception() and mp_sched_schedule().
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/scheduler.c')
-rw-r--r-- | py/scheduler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/scheduler.c b/py/scheduler.c index f37f8c3f8..9ff930007 100644 --- a/py/scheduler.c +++ b/py/scheduler.c @@ -39,7 +39,7 @@ void mp_sched_exception(mp_obj_t exc) { #if MICROPY_KBD_EXCEPTION // This function may be called asynchronously at any time so only do the bare minimum. -void MICROPY_WRAP_MP_KEYBOARD_INTERRUPT(mp_keyboard_interrupt)(void) { +void MICROPY_WRAP_MP_SCHED_KEYBOARD_INTERRUPT(mp_sched_keyboard_interrupt)(void) { MP_STATE_VM(mp_kbd_exception).traceback_data = NULL; mp_sched_exception(MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_kbd_exception))); } |