8000 Merge remote-tracking branch 'origin/main' into main · michthom/circuitpython@7b91715 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b91715

Browse files
committed
Merge remote-tracking branch 'origin/main' into main
2 parents 3179755 + 279d0d6 commit 7b91715

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

shared-bindings/displayio/Display.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,6 @@ STATIC mp_obj_t displayio_display_obj_fill_row(size_t n_args, const mp_obj_t *po
467467
mp_buffer_info_t bufinfo;
468468
mp_get_buffer_raise(result, &bufinfo, MP_BUFFER_WRITE);
469469

470-
if (bufinfo.typecode != BYTEARRAY_TYPECODE) {
471-
mp_raise_ValueError(translate("Buffer is not a bytearray."));
472-
}
473470
if (self->core.colorspace.depth != 16) {
474471
mp_raise_ValueError(translate("Display must have a 16 bit colorspace."));
475472
}

0 commit comments

Comments
 (0)
0