mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
extmod/modnetwork: Use MP_REGISTER_ROOT_POINTER().
This uses MP_REGISTER_ROOT_POINTER() to register mod_network_nic_list and removes the same from all mpconfigport.h. Signed-off-by: David Lechner <david@pybricks.com>
This commit is contained in:
committed by
Damien George
parent
e531b72b56
commit
a3703584fe
@@ -163,4 +163,6 @@ mp_obj_t mod_network_nic_ifconfig(struct netif *netif, size_t n_args, const mp_o
|
||||
|
||||
#endif
|
||||
|
||||
MP_REGISTER_ROOT_POINTER(mp_obj_list_t mod_network_nic_list);
|
||||
|
||||
#endif // MICROPY_PY_NETWORK
|
||||
|
||||
Reference in New Issue
Block a user