diff options
author | Takeo Takahashi <takeo.takahashi.xv@renesas.com> | 2022-05-24 11:48:27 +0900 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-05-25 00:05:30 +1000 |
commit | 79f3b8731b3b5fd0c187011af12ca8745a03418e (patch) | |
tree | 9ab7c34a2f16c8fd41dab405b1e014527561649e | |
parent | aa53d2f84a2171b53bd43459b84a1b5348241b43 (diff) |
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>
-rw-r--r-- | ports/renesas-ra/modmachine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/renesas-ra/modmachine.c b/ports/renesas-ra/modmachine.c index 4914c7b3a..e505a49ff 100644 --- a/ports/renesas-ra/modmachine.c +++ b/ports/renesas-ra/modmachine.c @@ -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); |