summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index dd185a7c25..9a8cc02013 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -127,6 +127,11 @@ typedef struct _mp_state_vm_t {
// include any root pointers defined by a port
MICROPY_PORT_ROOT_POINTERS
+ // root pointers for extmod
+ #if MICROPY_PY_LWIP_SLIP
+ mp_obj_t lwip_slip_stream;
+ #endif
+
//
// END ROOT POINTER SECTION
////////////////////////////////////////////////////////////