diff options
author | Damien George <damien.p.george@gmail.com> | 2016-12-15 15:51:34 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-12-15 15:51:34 +1100 |
commit | a770ba147edfab6cf060147f6ef47cf19c1c332b (patch) | |
tree | f5e1cc383fa538c346d61a678fb7a5e7542066b9 /stmhal/main.c | |
parent | d89cafd5c30be57db99cbf10993bca00d9f523fb (diff) |
stmhal: Use core-provided keyboard exception object.
Diffstat (limited to 'stmhal/main.c')
-rw-r--r-- | stmhal/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index 6140a06a8..78afe54ef 100644 --- a/stmhal/main.c +++ b/stmhal/main.c @@ -438,7 +438,6 @@ soft_reset: mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_flash)); mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_flash_slash_lib)); mp_obj_list_init(mp_sys_argv, 0); - MP_STATE_PORT(mp_kbd_exception) = mp_obj_new_exception(&mp_type_KeyboardInterrupt); // Initialise low-level sub-systems. Here we need to very basic things like // zeroing out memory and resetting any of the sub-systems. Following this |