Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
markoaurelije committed Nov 3, 2024
1 parent 108ea2a commit 7e71f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luma/led_matrix/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def display(self, image):

# Send 32 zero-bits to reset, then pixel values then n/2 zero-bits at end
sz = image.width * image.height * 4
buf = bytearray(4 + sz + ceil(image.width * image.height/8/2))
buf = bytearray(4 + sz + ceil(image.width * image.height / 8 / 2))

m = self._mapping
for idx, (r, g, b, a) in enumerate(image.getdata()):
Expand Down

0 comments on commit 7e71f27

Please sign in to comment.