Skip to content

Commit f2f18da

Browse files
committed
Fix build error for !SHARPDISPLAY
1 parent 9e66f71 commit f2f18da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/displayio/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
primary_display_t displays[CIRCUITPY_DISPLAY_LIMIT];
2828

29-
#if CIRCUITPY_RGBMATRIX || CIRCUITPY_SHARPDISPLAY
29+
#if CIRCUITPY_RGBMATRIX
3030
STATIC bool any_display_uses_this_framebuffer(mp_obj_base_t *obj) {
3131
for (uint8_t i = 0; i < CIRCUITPY_DISPLAY_LIMIT; i++) {
3232
if (displays[i].display_base.type == &framebufferio_framebufferdisplay_type) {

0 commit comments

Comments
 (0)