Skip to content

Commit

Permalink
Merge pull request #93 from 2231puppy/fix-array-concat
Browse files Browse the repository at this point in the history
Fix error when RPi Pico U2IF used with Blinka
  • Loading branch information
caternuson authored May 6, 2021
2 parents d63cae5 + a369264 commit 4ba83af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_rgb_display/rgb.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def image(self, img, rotation=None, x=0, y=0):
)
)
if numpy:
pixels = list(image_to_data(img))
pixels = bytes(image_to_data(img))
else:
# Slower but doesn't require numpy
pixels = bytearray(imwidth * imheight * 2)
Expand Down

0 comments on commit 4ba83af

Please sign in to comment.