summaryrefslogtreecommitdiff
path: root/lib/utils/interrupt_char.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/interrupt_char.c')
-rw-r--r--lib/utils/interrupt_char.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/utils/interrupt_char.c b/lib/utils/interrupt_char.c
index 3810f7a96..7014ae6a8 100644
--- a/lib/utils/interrupt_char.c
+++ b/lib/utils/interrupt_char.c
@@ -32,9 +32,6 @@
int mp_interrupt_char = -1;
void mp_hal_set_interrupt_char(int c) {
- if (c != -1) {
- mp_obj_exception_clear_traceback(MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_kbd_exception)));
- }
mp_interrupt_char = c;
}