Merge pull request #4501 from jepler/rgbmatrix-memoryview

RGBMatrix: fix memoryview(matrix)
This commit is contained in:
Dan Halbert 2021-03-29 16:07:22 -04:00 committed by GitHub
commit b274a0497b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,6 +441,7 @@ STATIC mp_int_t rgbmatrix_rgbmatrix_get_buffer(mp_obj_t self_in, mp_buffer_info_
return 1;
}
*bufinfo = self->bufinfo;
bufinfo->typecode = 'H';
return 0;
}