diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2018-05-16 17:52:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-16 17:52:16 -0400 |
| commit | 6a8db03ade64bd2fdf5c7b5df54ad113a062e005 (patch) | |
| tree | ea667ec04968450be04b68188cba2a45b7bcee17 /py/mpstate.h | |
| parent | 07c0a3227da24ef92e44a2457f94af71cc7f081c (diff) | |
| parent | 918d30cb97c8d15ad27c6a59f68c55dc211b425a (diff) | |
Merge pull request #838 from rhooper/master
add supervisor.reload() to soft reboot from code
Diffstat (limited to 'py/mpstate.h')
| -rw-r--r-- | py/mpstate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h index 19a5d711e..c50947066 100644 --- a/py/mpstate.h +++ b/py/mpstate.h @@ -136,6 +136,9 @@ typedef struct _mp_state_vm_t { mp_obj_exception_t mp_kbd_exception; #endif + // exception object of type ReloadException + mp_obj_exception_t mp_reload_exception; + // dictionary with loaded modules (may be exposed as sys.modules) mp_obj_dict_t mp_loaded_modules_dict; |
