diff options
| author | Damien George <damien@micropython.org> | 2023-07-13 13:18:09 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-07-13 13:18:09 +1000 |
| commit | 88771c150098df53aa6a3fedcdd25b11eeb4e134 (patch) | |
| tree | 74a4736fa23a200a10108888b6632623a98a4cae | |
| parent | 62673a7708083ab3d9452d67117b424cd4b81150 (diff) | |
renesas-ra,stm32: Remove duplicate machine module from constants list.
In the u-module renaming done in 30628d1bb782006c88325a086ddfcd5c2e5ddbb4,
these duplicate lines were accidentally left.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/renesas-ra/mpconfigport.h | 1 | ||||
| -rw-r--r-- | ports/stm32/mpconfigport.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/ports/renesas-ra/mpconfigport.h b/ports/renesas-ra/mpconfigport.h index a4a0caa37..842de1eff 100644 --- a/ports/renesas-ra/mpconfigport.h +++ b/ports/renesas-ra/mpconfigport.h @@ -145,7 +145,6 @@ #if MICROPY_PY_MACHINE #define MACHINE_BUILTIN_MODULE_CONSTANTS \ - { MP_ROM_QSTR(MP_QSTR_machine), MP_ROM_PTR(&mp_module_machine) }, \ { MP_ROM_QSTR(MP_QSTR_machine), MP_ROM_PTR(&mp_module_machine) }, #else #define MACHINE_BUILTIN_MODULE_CONSTANTS diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h index c3202d1f2..e3e24f4a9 100644 --- a/ports/stm32/mpconfigport.h +++ b/ports/stm32/mpconfigport.h @@ -166,7 +166,6 @@ extern const struct _mp_obj_module_t stm_module; #if MICROPY_PY_MACHINE #define MACHINE_BUILTIN_MODULE_CONSTANTS \ - { MP_ROM_QSTR(MP_QSTR_machine), MP_ROM_PTR(&mp_module_machine) }, \ { MP_ROM_QSTR(MP_QSTR_machine), MP_ROM_PTR(&mp_module_machine) }, #else #define MACHINE_BUILTIN_MODULE_CONSTANTS |
