renesas-ra/modmachine: Add missing MP_REGISTER_MODULE for umachine.

Fix the issue that umachine is not available.

Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
This commit is contained in:
Takeo Takahashi 2022-05-24 11:48:27 +09:00 committed by Damien George
parent aa53d2f84a
commit 79f3b8731b
1 changed files with 2 additions and 0 deletions

View File

@ -302,3 +302,5 @@ const mp_obj_module_t mp_module_machine = {
.base = { &mp_type_module },
.globals = (mp_obj_dict_t *)&machine_module_globals,
};
MP_REGISTER_MODULE(MP_QSTR_umachine, mp_module_machine, MICROPY_PY_MACHINE);