diff options
| author | Damien George <damien@micropython.org> | 2022-02-02 16:04:00 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-02-03 10:08:54 +1100 |
| commit | fbd47fc46cce80abfc59e680600666473a1868da (patch) | |
| tree | 142f0f66e67b73825157f421477cd332830e8546 /ports/stm32/modmachine.c | |
| parent | 102cc12dbbe10c3caf3e1e141be4ab4366dbd02f (diff) | |
ports: Consolidate inclusion of umachine module in built-ins.
The inclusion of `umachine` in the list of built-in modules is now done
centrally in py/objmodule.c. Enabling MICROPY_PY_MACHINE will include this
module.
As part of this, all ports now have `umachine` as the core module name
(previously some had only `machine` as the name).
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/stm32/modmachine.c')
| -rw-r--r-- | ports/stm32/modmachine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/modmachine.c b/ports/stm32/modmachine.c index 9b215c75c..f9026bc37 100644 --- a/ports/stm32/modmachine.c +++ b/ports/stm32/modmachine.c @@ -464,7 +464,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = { STATIC MP_DEFINE_CONST_DICT(machine_module_globals, machine_module_globals_table); -const mp_obj_module_t machine_module = { +const mp_obj_module_t mp_module_machine = { .base = { &mp_type_module }, .globals = (mp_obj_dict_t *)&machine_module_globals, }; |
