Variable type-o

This commit is contained in:
Tyler Winfield 2023-12-19 23:20:06 -06:00
parent a855c3b99e
commit 72c6c68451

View file

@ -339,7 +339,7 @@ def pulse_generator(period: float, animation_object, dotstar_pwm=False):
last_pos = pos
if pos > half_period:
pos = period - pos
if pos < half_period and pox > (half_period - breath):
if pos < half_period and pos > (half_period - breath):
intensity = animation_object.max_intensity
elif pos > (period - breath):
intensity = animation_object.min_intensity