extmod: Make extmod modules use MP_REGISTER_MODULE.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared
2022-04-20 16:06:22 +10:00
parent 469450171f
commit 4eab44a1ec
35 changed files with 69 additions and 74 deletions

View File

@@ -379,6 +379,8 @@ const mp_obj_module_t mp_module_btree = {
.base = { &mp_type_module },
.globals = (mp_obj_dict_t *)&mp_module_btree_globals,
};
MP_REGISTER_MODULE(MP_QSTR_btree, mp_module_btree, MICROPY_PY_BTREE);
#endif
#endif // MICROPY_PY_BTREE