There was an error while loading. Please reload this page.
2 parents f7f9308 + 512484d commit 6318e4cCopy full SHA for 6318e4c
ext_mod/lcd_bus/lcd_types.c
@@ -197,6 +197,7 @@ void rgb565_byte_swap(void *buf, uint32_t buf_size_px)
197
198
if (self->view1 == NULL) {
199
self->view1 = view;
200
+ self->buffer_flags = caps;
201
} else if (self->buffer_flags != caps) {
202
mp_raise_msg(&mp_type_MemoryError, MP_ERROR_TEXT("allocation flags must be the same for both buffers"));
203
return mp_const_none;
0 commit comments