diff --git a/ports/espressif/mpconfigport.h b/ports/espressif/mpconfigport.h index 1b154b4b99..c296be2024 100644 --- a/ports/espressif/mpconfigport.h +++ b/ports/espressif/mpconfigport.h @@ -33,6 +33,8 @@ #define MICROPY_USE_INTERNAL_PRINTF (0) #define MICROPY_PY_SYS_PLATFORM "Espressif" +#define CIRCUITPY_DIGITALIO_HAVE_INPUT_ONLY (1) + #include "py/circuitpy_mpconfig.h" #if CIRCUITPY_BLEIO @@ -99,6 +101,4 @@ #define CIRCUITPY_PORT_NUM_SUPERVISOR_ALLOCATIONS (1) #endif -#define CIRCUITPY_DIGITALIO_HAVE_INPUT_ONLY (1) - #endif // MICROPY_INCLUDED_ESPRESSIF_MPCONFIGPORT_H