stmhal: Put mod_network_nic_list in global root-pointer state.

It needs to be scanned by GC.  Thanks to Daniel Campora.
This commit is contained in:
Damien George
2015-01-22 00:16:41 +00:00
parent 77089bebd4
commit 8b77e3dd2f
5 changed files with 13 additions and 12 deletions

View File

@@ -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