diff --git a/bricks/stm32/configport.h b/bricks/stm32/configport.h index b52658bf7..926e98f81 100644 --- a/bricks/stm32/configport.h +++ b/bricks/stm32/configport.h @@ -61,7 +61,7 @@ #define MICROPY_PY_ALL_SPECIAL_METHODS (PYBRICKS_STM32_OPT_EXTRA_MOD) #define MICROPY_PY_REVERSE_SPECIAL_METHODS (PYBRICKS_STM32_OPT_EXTRA_MOD) #define MICROPY_PY_IO (PYBRICKS_STM32_OPT_EXTRA_MOD) -#define MICROPY_PY_STRUCT (0) +#define MICROPY_PY_STRUCT (PYBRICKS_STM32_OPT_EXTRA_MOD) #define MICROPY_PY_SYS (PYBRICKS_STM32_OPT_EXTRA_MOD) #define MICROPY_PY_SYS_EXIT (0) #define MICROPY_PY_SYS_MODULES (0)