summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpstate.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-22 00:16:41 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-22 00:16:41 +0000
commit8b77e3dd2fd3005bc67bb59a701c6ea2422bf928 (patch)
treee321bc8763bdb2e7b0f40234c7692bcfb46eaa43 /py/mpstate.h
parent77089bebd4888ab35fcda3d02460ac8304426bff (diff)
downloadmicropython-8b77e3dd2fd3005bc67bb59a701c6ea2422bf928.tar.gz
micropython-8b77e3dd2fd3005bc67bb59a701c6ea2422bf928.zip
stmhal: Put mod_network_nic_list in global root-pointer state.
It needs to be scanned by GC. Thanks to Daniel Campora.
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index e966bc80de..10a5db8194 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -32,6 +32,7 @@
#include "py/misc.h"
#include "py/nlr.h"
#include "py/obj.h"
+#include "py/objlist.h" // in case port needs mp_obj_list_t in root pointers
#include "py/objexcept.h"
// This file contains structures defining the state of the Micro Python