Skip to content

Commit b274a04

Browse files
authored
Merge pull request #4501 from jepler/rgbmatrix-memoryview
RGBMatrix: fix memoryview(matrix)
2 parents f736258 + b04f913 commit b274a04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shared-bindings/rgbmatrix/RGBMatrix.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ STATIC mp_int_t rgbmatrix_rgbmatrix_get_buffer(mp_obj_t self_in, mp_buffer_info_
441441
return 1;
442442
}
443443
*bufinfo = self->bufinfo;
444+
bufinfo->typecode = 'H';
444445
return 0;
445446
}
446447

0 commit comments

Comments
 (0)