summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorRoy Hooper <rhooper@toybox.ca>2018-05-14 17:00:38 -0400
committerRoy Hooper <rhooper@toybox.ca>2018-05-14 17:00:38 -0400
commit698912633fab70b7a0fa19a84c730face41b10ff (patch)
tree31d50f75a3ce3d8728b9e78d76d023d183f92bd7 /shared-bindings
parent567f3e30a77f286713b697a0f8a85e8b31a4a27a (diff)
Rename reload_next_character to reload_requested to make it match it's intended use
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/supervisor/__init__.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/supervisor/__init__.c b/shared-bindings/supervisor/__init__.c
index 9a3fa855a..4eae40406 100644
--- a/shared-bindings/supervisor/__init__.c
+++ b/shared-bindings/supervisor/__init__.c
@@ -100,7 +100,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(supervisor_set_rgb_status_brightness_obj, supervisor_s
//| Reload the microcontroller (equivalent to hitting Ctrl-D at the REPL).
//|
STATIC mp_obj_t supervisor_reload(void) {
- reload_next_character = true;
+ reload_requested = true;
MP_STATE_VM(mp_pending_exception) = MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_reload_exception));
#if MICROPY_ENABLE_SCHEDULER