File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 43
43
#include "supervisor/spi_flash_api.h"
44
44
#include "py/mpconfig.h"
45
45
46
+ #if CIRCUITPY_DOTCLOCKFRAMEBUFFER
47
+ #include "shared-bindings/dotclockframebuffer/DotClockFramebuffer.h"
48
+ #endif
49
+
46
50
#if CIRCUITPY_SHARPDISPLAY
47
51
#include "shared-bindings/sharpdisplay/SharpMemoryFramebuffer.h"
48
52
#include "shared-module/sharpdisplay/SharpMemoryFramebuffer.h"
@@ -133,6 +137,10 @@ void common_hal_displayio_release_displays(void) {
133
137
common_hal_displayio_fourwire_deinit (& display_buses [i ].fourwire_bus );
134
138
} else if (bus_type == & displayio_i2cdisplay_type ) {
135
139
common_hal_displayio_i2cdisplay_deinit (& display_buses [i ].i2cdisplay_bus );
140
+ #if CIRCUITPY_DOTCLOCKFRAMEBUFFER
141
+ } else if (bus_type == & dotclockframebuffer_framebuffer_type ) {
142
+ common_hal_dotclockframebuffer_framebuffer_deinit (& display_buses [i ].dotclock );
143
+ #endif
136
144
#if CIRCUITPY_PARALLELDISPLAY
137
145
} else if (bus_type == & paralleldisplay_parallelbus_type ) {
138
146
common_hal_paralleldisplay_parallelbus_deinit (& display_buses [i ].parallel_bus );
You can’t perform that action at this time.
0 commit comments