summaryrefslogtreecommitdiff
path: root/py/modmath.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/modmath.c')
-rw-r--r--py/modmath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/modmath.c b/py/modmath.c
index 8fc821c9d..764f59e1c 100644
--- a/py/modmath.c
+++ b/py/modmath.c
@@ -435,4 +435,6 @@ const mp_obj_module_t mp_module_math = {
.globals = (mp_obj_dict_t *)&mp_module_math_globals,
};
+MP_REGISTER_MODULE(MP_QSTR_math, mp_module_math, MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH);
+
#endif // MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH