diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-30 18:13:03 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-30 18:13:03 +0300 |
commit | 2e75a17bab9a3f3379546659e557f026ef70cabe (patch) | |
tree | 2442dfba0f36c45eaef3c4c1ae9476cf3cd3cc93 /esp8266/mpconfigport.h | |
parent | b1dfdaf6cbfba4e5eb7cb05e5de62da0d7e1112c (diff) | |
download | micropython-2e75a17bab9a3f3379546659e557f026ef70cabe.tar.gz micropython-2e75a17bab9a3f3379546659e557f026ef70cabe.zip |
esp8266: Fix issue when current repl line was garbage-collected.
Reference it from root pointers section.
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r-- | esp8266/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index 30b49d4075..e101a7f867 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -126,6 +126,7 @@ extern const struct _mp_obj_module_t onewire_module; #define MICROPY_PORT_ROOT_POINTERS \ const char *readline_hist[8]; \ + vstr_t *repl_line; \ mp_obj_t mp_kbd_exception; \ // We need to provide a declaration/definition of alloca() |