8000 add supervisor.reload() to soft reboot from code by rhooper · Pull Request #838 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

add supervisor.reload() 8000 to soft reboot from code #838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 16, 2018
Prev Previous commit
Rephrase the doc
  • Loading branch information
tannewt authored May 16, 2018
commit 918d30cb97c8d15ad27c6a59f68c55dc211b425a
2 changes: 1 addition & 1 deletion shared-bindings/supervisor/__init__.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(supervisor_set_rgb_status_brightness_obj, supervisor_s

//| .. method:: reload()
//|
//| Reload the microcontroller (equivalent to hitting Ctrl-D at the REPL).
//| Reload the main Python code and run it (equivalent to hitting Ctrl-D at the REPL).
//|
STATIC mp_obj_t supervisor_reload(void) {
reload_requested = true;
Expand Down
0