mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
extmod/modlwip: Use MP_REGISTER_ROOT_POINTER().
This uses MP_REGISTER_ROOT_POINTER() to register lwip_slip_stream instead of using a conditional inside of mp_state_vm_t. Signed-off-by: David Lechner <david@pybricks.com>
This commit is contained in:
committed by
Damien George
parent
631b692177
commit
d532c55e3b
@@ -198,10 +198,6 @@ typedef struct _mp_state_vm_t {
|
||||
|
||||
// root pointers for extmod
|
||||
|
||||
#if MICROPY_PY_LWIP_SLIP
|
||||
mp_obj_t lwip_slip_stream;
|
||||
#endif
|
||||
|
||||
#if MICROPY_VFS
|
||||
struct _mp_vfs_mount_t *vfs_cur;
|
||||
struct _mp_vfs_mount_t *vfs_mount_table;
|
||||
|
||||
Reference in New Issue
Block a user