From 88771c150098df53aa6a3fedcdd25b11eeb4e134 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 13 Jul 2023 13:18:09 +1000 Subject: [PATCH] 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 --- ports/renesas-ra/mpconfigport.h | 1 - ports/stm32/mpconfigport.h | 1 - 2 files changed, 2 deletions(-) diff --git a/ports/renesas-ra/mpconfigport.h b/ports/renesas-ra/mpconfigport.h index a4a0caa373..842de1eff7 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 c3202d1f2e..e3e24f4a9d 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