File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ void common_hal_displayio_release_displays(void) {
107
107
common_hal_displayio_i2cdisplay_deinit (& displays [i ].i2cdisplay_bus );
108
108
} else if (bus_type == & displayio_parallelbus_type ) {
109
109
common_hal_displayio_parallelbus_deinit (& displays [i ].parallel_bus );
110
- #if CIRCUITPY_FRAMEBUFFERIO
110
+ #if CIRCUITPY_RGBMATRIX
111
111
} else if (bus_type == & rgbmatrix_RGBMatrix_type ) {
112
112
common_hal_rgbmatrix_rgbmatrix_deinit (& displays [i ].rgbmatrix );
113
113
#endif
@@ -222,7 +222,7 @@ void displayio_gc_collect(void) {
222
222
}
223
223
#endif
224
224
#if CIRCUITPY_SHARPDISPLAY
225
- if (displays [i ].rgbmatrix . base .type == & sharpdisplay_framebuffer_type ) {
225
+ if (displays [i ].bus_base .type == & sharpdisplay_framebuffer_type ) {
226
226
common_hal_sharpdisplay_framebuffer_collect_ptrs (& displays [i ].sharpdisplay );
227
227
}
228
228
#endif
Original file line number Diff line number Diff line change 39
39
#endif
40
40
41
41
#if CIRCUITPY_SHARPDISPLAY
42
+ #include "shared-module/displayio/__init__.h"
42
43
#include "shared-bindings/sharpdisplay/SharpMemoryFramebuffer.h"
43
44
#include "shared-module/sharpdisplay/SharpMemoryFramebuffer.h"
44
45
#endif
You can’t perform that action at this time.
0 commit comments