diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-12-15 12:32:00 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-12-15 12:32:00 +1100 |
| commit | f254cfd3c46432efabf837668c91271fddc8ea27 (patch) | |
| tree | cec5d6b82c6b8df8880b9c53aa6417e26a88cad8 /stmhal/mpconfigport.h | |
| parent | 29b58796136e3c9133cd268b163db1c53e67ac9b (diff) | |
stmhal: Rename mp_const_vcp_interrupt to mp_kbd_exception.
mp_kbd_exception is now considered the standard variable name to hold the
singleton KeyboardInterrupt exception.
This patch also moves the creation of this object from pyb_usb_init() to
main().
Diffstat (limited to 'stmhal/mpconfigport.h')
| -rw-r--r-- | stmhal/mpconfigport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h index 979cb3678..203d41472 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -208,7 +208,7 @@ extern const struct _mp_obj_module_t mp_module_network; #define MICROPY_PORT_ROOT_POINTERS \ const char *readline_hist[8]; \ \ - mp_obj_t mp_const_vcp_interrupt; \ + mp_obj_t mp_kbd_exception; \ mp_obj_t pyb_hid_report_desc; \ \ mp_obj_t pyb_config_main; \ |
