File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed
atmel-samd/boards/openbook_m4
espressif/boards/adafruit_magtag_2.9_grayscale
raspberrypi/boards/pimoroni_badger2040 Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ void board_init(void) {
106
106
false, // chip_select (don't always toggle chip select)
107
107
false, // grayscale
108
108
false, // acep
109
- false); // two_byte_sequence_length
109
+ false, // two_byte_sequence_length
110
+ false); // address_little_endian
110
111
}
111
112
112
113
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.
Original file line number Diff line number Diff line change @@ -167,7 +167,8 @@ void board_init(void) {
167
167
false, // always_toggle_chip_select
168
168
true, // grayscale
169
169
false, // acep
170
- false); // two_byte_sequence_length
170
+ false, // two_byte_sequence_length
171
+ false); // address_little_endian
171
172
}
172
173
173
174
bool espressif_board_reset_pin_number (gpio_num_t pin_number ) {
Original file line number Diff line number Diff line change @@ -323,7 +323,8 @@ void board_init(void) {
323
323
false, // always_toggle_chip_select
324
324
false, // grayscale
325
325
false, // acep
326
- false); // two_byte_sequence_length
326
+ false, // two_byte_sequence_length
327
+ false); // address_little_endian
327
328
}
328
329
329
330
void board_deinit (void ) {
Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ void common_hal_displayio_release_displays(void) {
154
154
common_hal_videocore_framebuffer_deinit (& display_buses [i ].videocore );
155
155
#endif
156
156
#if CIRCUITPY_PICODVI
157
- } else if (displays [ i ]. bus_base . type == & picodvi_framebuffer_type ) {
158
- common_hal_picodvi_framebuffer_deinit (& displays [i ].picodvi );
157
+ } else if (bus_type == & picodvi_framebuffer_type ) {
158
+ common_hal_picodvi_framebuffer_deinit (& display_buses [i ].picodvi );
159
159
#endif
160
160
}
161
161
display_buses [i ].bus_base .type = & mp_type_NoneType ;
@@ -274,8 +274,8 @@ void reset_displays(void) {
274
274
// need to be moved.
275
275
#endif
276
276
#if CIRCUITPY_PICODVI
277
- } else if (displays [ i ]. bus_base . type == & picodvi_framebuffer_type ) {
278
- picodvi_framebuffer_obj_t * vc = & displays [i ].picodvi ;
277
+ } else if (display_bus_type == & picodvi_framebuffer_type ) {
278
+ picodvi_framebuffer_obj_t * vc = & display_buses [i ].picodvi ;
279
279
if (!any_display_uses_this_framebuffer (& vc -> base )) {
280
280
common_hal_picodvi_framebuffer_deinit (vc );
281
281
}
You can’t perform that action at this time.
0 commit comments