mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +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
@@ -185,9 +185,6 @@
|
||||
/* pointers to all UART objects (if they have been created) */ \
|
||||
struct _machine_uart_obj_t *machine_uart_obj_all[MICROPY_HW_MAX_UART + MICROPY_HW_MAX_LPUART]; \
|
||||
\
|
||||
/* list of registered NICs */ \
|
||||
/* mp_obj_list_t mod_network_nic_list; */ \
|
||||
\
|
||||
/* root pointers for sub-systems */ \
|
||||
\
|
||||
/* root pointers defined by a board */ \
|
||||
|
||||
Reference in New Issue
Block a user