summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/pendsv.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-12-15 12:32:00 +1100
committerDamien George <damien.p.george@gmail.com>2016-12-15 12:32:00 +1100
commitf254cfd3c46432efabf837668c91271fddc8ea27 (patch)
treecec5d6b82c6b8df8880b9c53aa6417e26a88cad8 /stmhal/pendsv.c
parent29b58796136e3c9133cd268b163db1c53e67ac9b (diff)
downloadmicropython-f254cfd3c46432efabf837668c91271fddc8ea27.tar.gz
micropython-f254cfd3c46432efabf837668c91271fddc8ea27.zip
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/pendsv.c')
-rw-r--r--stmhal/pendsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/pendsv.c b/stmhal/pendsv.c
index fb66a3dad4..ff4480eed3 100644
--- a/stmhal/pendsv.c
+++ b/stmhal/pendsv.c
@@ -36,7 +36,7 @@
// PENDSV call that actually raises the exception. It must be non-static
// otherwise gcc-5 optimises it away. It can point to the heap but is not
// traced by GC. This is okay because we only ever set it to
-// mp_const_vcp_interrupt which is in the root-pointer set.
+// mp_kbd_exception which is in the root-pointer set.
void *pendsv_object;
void pendsv_init(void) {