File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 21
21
22
22
primary_display_t displays [CIRCUITPY_DISPLAY_LIMIT ];
23
23
24
+ #if CIRCUITPY_PROTOMATTER
24
25
STATIC bool any_display_uses_this_protomatter (protomatter_protomatter_obj_t * pm ) {
25
26
for (uint8_t i = 0 ; i < CIRCUITPY_DISPLAY_LIMIT ; i ++ ) {
26
27
if (displays [i ].framebuffer_display .base .type == & framebufferio_framebufferdisplay_type ) {
@@ -32,6 +33,7 @@ STATIC bool any_display_uses_this_protomatter(protomatter_protomatter_obj_t* pm)
32
33
}
33
34
return false;
34
35
}
36
+ #endif
35
37
36
38
// Check for recursive calls to displayio_background.
37
39
bool displayio_background_in_progress = false;
Original file line number Diff line number Diff line change 29
29
#include <string.h>
30
30
31
31
#include "py/mpstate.h"
32
- #include "shared-module/displayio/__init__.h"
33
32
#include "shared-bindings/displayio/Group.h"
34
33
#include "shared-bindings/displayio/Palette.h"
35
34
#include "shared-bindings/displayio/TileGrid.h"
36
35
#include "supervisor/memory.h"
37
36
37
+ #if CIRCUITPY_PROTOMATTER
38
+ #include "shared-module/displayio/__init__.h"
39
+ #endif
40
+
38
41
extern size_t blinka_bitmap_data [];
39
42
extern displayio_bitmap_t blinka_bitmap ;
40
43
extern displayio_group_t circuitpython_splash ;
You can’t perform that action at this time.
0 commit comments