mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
mimxrt: Use MP_REGISTER_ROOT_POINTER().
This uses MP_REGISTER_ROOT_POINTER() to register all port-specific root pointers in the mimxrt port. Signed-off-by: David Lechner <david@pybricks.com>
This commit is contained in:
committed by
Damien George
parent
e2d4db96da
commit
a316a8fdb3
@@ -1224,4 +1224,6 @@ const mp_obj_type_t machine_i2s_type = {
|
||||
.locals_dict = (mp_obj_dict_t *)&machine_i2s_locals_dict,
|
||||
};
|
||||
|
||||
MP_REGISTER_ROOT_POINTER(struct _machine_i2s_obj_t *machine_i2s_obj[MICROPY_HW_I2S_NUM]);
|
||||
|
||||
#endif // MICROPY_PY_MACHINE_I2S
|
||||
|
||||
Reference in New Issue
Block a user