diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-06-06 17:49:32 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-06-06 17:49:32 -0400 |
| commit | 62de2506e47c14a71c7a9fe04360697ccb966aeb (patch) | |
| tree | 2d6363f88e5d7c4666094138e217ec6a2a2b6b2b /shared-module/board | |
| parent | c90ce2b9fa98dc8c2a1298524bc434d07393ad6a (diff) | |
Include display objects in gc.
Diffstat (limited to 'shared-module/board')
| -rw-r--r-- | shared-module/board/__init__.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/board/__init__.c b/shared-module/board/__init__.c index ac4de2fe5..be8502bc0 100644 --- a/shared-module/board/__init__.c +++ b/shared-module/board/__init__.c @@ -103,7 +103,7 @@ void reset_board_busses(void) { #endif #if BOARD_SPI bool display_using_spi = false; - #ifdef CIRCUITPY_DISPLAYIO + #if CIRCUITPY_DISPLAYIO for (uint8_t i = 0; i < CIRCUITPY_DISPLAY_LIMIT; i++) { if (displays[i].fourwire_bus.bus == spi_singleton) { display_using_spi = true; |
