diff options
author | Damien George <damien.p.george@gmail.com> | 2020-02-06 20:25:54 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-02-07 16:08:26 +1100 |
commit | 9efb36bfa66d5846c14f21778c25dff7dd733826 (patch) | |
tree | f87dd0a7a4a891f4042cbb6722d81718e3660e49 /lib/utils/interrupt_char.h | |
parent | 5a91cd9ff3e97b74ad6c9a615f810b8fcebbe110 (diff) | |
download | micropython-9efb36bfa66d5846c14f21778c25dff7dd733826.tar.gz micropython-9efb36bfa66d5846c14f21778c25dff7dd733826.zip |
py/scheduler: Move mp_keyboard_interrupt from lib/utils to py core.
This function is tightly coupled to the state and behaviour of the
scheduler, and is a core part of the runtime: to schedule a pending
exception. So move it there.
Diffstat (limited to 'lib/utils/interrupt_char.h')
-rw-r--r-- | lib/utils/interrupt_char.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/utils/interrupt_char.h b/lib/utils/interrupt_char.h index ca50d4d567..cb086ead92 100644 --- a/lib/utils/interrupt_char.h +++ b/lib/utils/interrupt_char.h @@ -28,6 +28,5 @@ extern int mp_interrupt_char; void mp_hal_set_interrupt_char(int c); -void mp_keyboard_interrupt(void); #endif // MICROPY_INCLUDED_LIB_UTILS_INTERRUPT_CHAR_H |