Skip to content

Commit 72c6c68

Browse files
committed
Variable type-o
1 parent a855c3b commit 72c6c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_led_animation/helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def pulse_generator(period: float, animation_object, dotstar_pwm=False):
339339
last_pos = pos
340340
if pos > half_period:
341341
pos = period - pos
342-
if pos < half_period and pox > (half_period - breath):
342+
if pos < half_period and pos > (half_period - breath):
343343
intensity = animation_object.max_intensity
344344
elif pos > (period - breath):
345345
intensity = animation_object.min_intensity

0 commit comments

Comments
 (0)