diff options
| -rw-r--r-- | ports/atmel-samd/mpconfigport.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ports/atmel-samd/mpconfigport.h b/ports/atmel-samd/mpconfigport.h index e9507e3cc..c5b64b026 100644 --- a/ports/atmel-samd/mpconfigport.h +++ b/ports/atmel-samd/mpconfigport.h @@ -283,13 +283,9 @@ extern const struct _mp_obj_module_t pixelbuf_module; #define I2CSLAVE_MODULE #endif - #ifdef CIRCUITPY_DISPLAYIO + #define CIRCUITPY_DISPLAYIO (1) #define CIRCUITPY_DISPLAY_LIMIT (3) #define DISPLAYIO_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_displayio), (mp_obj_t)&displayio_module }, - #else - #define CIRCUITPY_DISPLAY_LIMIT (0) - #define DISPLAYIO_MODULE - #endif #if MICROPY_PY_NETWORK #define NETWORK_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_network), (mp_obj_t)&network_module }, |
