From d8d3e6ae787718fffacde2eb22b7eb32fb759484 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Wed, 20 Apr 2022 16:14:22 +1000 Subject: py: Make builtin modules use MP_REGISTER_MODULE. Signed-off-by: Jim Mussared --- py/modstruct.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'py/modstruct.c') diff --git a/py/modstruct.c b/py/modstruct.c index 4cbcad6d4..2cbf691af 100644 --- a/py/modstruct.c +++ b/py/modstruct.c @@ -266,4 +266,6 @@ const mp_obj_module_t mp_module_ustruct = { .globals = (mp_obj_dict_t *)&mp_module_struct_globals, }; +MP_REGISTER_MODULE(MP_QSTR_ustruct, mp_module_ustruct, MICROPY_PY_STRUCT); + #endif -- cgit v1.2.3