We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bac273b commit 6ef0715Copy full SHA for 6ef0715
adafruit_led_animation/animation/rainbowcomet.py
@@ -60,7 +60,7 @@ def __init__(
60
ring=False,
61
):
62
if step == 0:
63
- self._colorwheel_step = max(int(256 / tail_length), 1)
+ self._colorwheel_step = max(256 // tail_length, 1)
64
else:
65
self._colorwheel_step = step
66
self._colorwheel_offset = colorwheel_offset
0 commit comments