Skip to content

Commit 0846aa4

Browse files
committed
circuitpy_mpconfig: fix build config
.. some boards need MODULE_ATTR_DELEGATION for other reasons than displayio.
1 parent f0e3130 commit 0846aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/circuitpy_mpconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ void background_callback_run_all(void);
616616
#endif
617617

618618
#ifndef MICROPY_MODULE_ATTR_DELEGATION
619-
#define MICROPY_MODULE_ATTR_DELEGATION (CIRCUITPY_DISPLAYIO)
619+
#define MICROPY_MODULE_ATTR_DELEGATION (CIRCUITPY_DISPLAYIO || MICROPY_PY_SYS_ATTR_DELEGATION || MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EXTRA_FEATURES)
620620
#endif
621621

622622
#if defined(__GNUC__) && !defined(__ZEPHYR__)

0 commit comments

Comments
 (0)