Skip to content

Commit d408102

Browse files
committed
fix sparklepulse on dotstar
1 parent 76a3e43 commit d408102

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_led_animation/animation/sparklepulse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def __init__(
7474
self._half_period = period / 2
7575
self._position_factor = 1 / self._half_period
7676
self._bpp = len(pixel_object[0])
77+
# Handle dotstars
7778
if self._bpp == 4 and isinstance(pixel_object[0][3], float):
7879
self._bpp = 3
7980
self._last_update = monotonic_ns()

0 commit comments

Comments
 (0)