Skip to content

Commit 4ba83af

Browse files
authored
Merge pull request #93 from 2231puppy/fix-array-concat
Fix error when RPi Pico U2IF used with Blinka
2 parents d63cae5 + a369264 commit 4ba83af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_rgb_display/rgb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def image(self, img, rotation=None, x=0, y=0):
188188
)
189189
)
190190
if numpy:
191-
pixels = list(image_to_data(img))
191+
pixels = bytes(image_to_data(img))
192192
else:
193193
# Slower but doesn't require numpy
194194
pixels = bytearray(imwidth * imheight * 2)

0 commit comments

Comments
 (0)