Skip to content

Commit

Permalink
is31fl3731: Fix nextframe index
Browse files Browse the repository at this point in the history
It looks like this what original author wanted,
if not then next_frame should be set to 0 unconditionally

Forwarded: #19
Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
  • Loading branch information
rzr committed Oct 27, 2021
1 parent b01d1f8 commit 1f9e6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/rgbmatrix5x5/is31fl3731.py
Expand Up @@ -289,7 +289,7 @@ def show(self):
"""Show the buffer contents on the display."""
self.setup()

next_frame = 0 if self._current_frame == 1 else 0
next_frame = 0 if self._current_frame == 1 else 1

output = [0 for x in range(144)]

Expand Down

0 comments on commit 1f9e6a2

Please sign in to comment.