summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/main.c')
-rw-r--r--esp8266/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/main.c b/esp8266/main.c
index bf68ebc96d..bb282462fd 100644
--- a/esp8266/main.c
+++ b/esp8266/main.c
@@ -52,6 +52,7 @@ STATIC void mp_reset(void) {
memset(MP_STATE_PORT(fs_user_mount), 0, sizeof(MP_STATE_PORT(fs_user_mount)));
#endif
MP_STATE_PORT(mp_kbd_exception) = mp_obj_new_exception(&mp_type_KeyboardInterrupt);
+ MP_STATE_PORT(term_obj) = MP_OBJ_NULL;
#if MICROPY_MODULE_FROZEN
pyexec_frozen_module("boot");
#endif