summaryrefslogtreecommitdiff
path: root/py/modgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/modgc.c')
-rw-r--r--py/modgc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/modgc.c b/py/modgc.c
index 534a711c1..0ae3a84ae 100644
--- a/py/modgc.c
+++ b/py/modgc.c
@@ -115,4 +115,6 @@ const mp_obj_module_t mp_module_gc = {
.globals = (mp_obj_dict_t *)&mp_module_gc_globals,
};
+MP_REGISTER_MODULE(MP_QSTR_gc, mp_module_gc, MICROPY_PY_GC && MICROPY_ENABLE_GC);
+
#endif