Browse Source

renesas-ra,stm32: Remove duplicate machine module from constants list.

In the u-module renaming done in 30628d1bb7,
these duplicate lines were accidentally left.

Signed-off-by: Damien George <damien@micropython.org>
pull/11557/head
Damien George 1 year ago
parent
commit
88771c1500
  1. 1
      ports/renesas-ra/mpconfigport.h
  2. 1
      ports/stm32/mpconfigport.h

1
ports/renesas-ra/mpconfigport.h

@ -145,7 +145,6 @@
#if MICROPY_PY_MACHINE #if MICROPY_PY_MACHINE
#define MACHINE_BUILTIN_MODULE_CONSTANTS \ #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) }, { MP_ROM_QSTR(MP_QSTR_machine), MP_ROM_PTR(&mp_module_machine) },
#else #else
#define MACHINE_BUILTIN_MODULE_CONSTANTS #define MACHINE_BUILTIN_MODULE_CONSTANTS

1
ports/stm32/mpconfigport.h

@ -166,7 +166,6 @@ extern const struct _mp_obj_module_t stm_module;
#if MICROPY_PY_MACHINE #if MICROPY_PY_MACHINE
#define MACHINE_BUILTIN_MODULE_CONSTANTS \ #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) }, { MP_ROM_QSTR(MP_QSTR_machine), MP_ROM_PTR(&mp_module_machine) },
#else #else
#define MACHINE_BUILTIN_MODULE_CONSTANTS #define MACHINE_BUILTIN_MODULE_CONSTANTS

Loading…
Cancel
Save