diff options
| author | Dan Halbert <halbert@adafruit.com> | 2021-03-29 16:07:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-29 16:07:22 -0400 |
| commit | b274a0497b04e8ccc650335ada25f85a2fadc538 (patch) | |
| tree | 6a481f1adaf3ab293f97c44f0458b4ce2e271223 /shared-bindings | |
| parent | f73625877d642301d1ff4c8cfa823ab0494bd162 (diff) | |
| parent | b04f9130c7eb1d41bf27556f58860bba63dd4bc5 (diff) | |
Merge pull request #4501 from jepler/rgbmatrix-memoryview
RGBMatrix: fix memoryview(matrix)
Diffstat (limited to 'shared-bindings')
| -rw-r--r-- | shared-bindings/rgbmatrix/RGBMatrix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-bindings/rgbmatrix/RGBMatrix.c b/shared-bindings/rgbmatrix/RGBMatrix.c index 045cc82b8..0188fa0b6 100644 --- a/shared-bindings/rgbmatrix/RGBMatrix.c +++ b/shared-bindings/rgbmatrix/RGBMatrix.c @@ -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; } |
