fix color_strobe

This commit is contained in:
Patrick Moessler 2023-02-24 18:58:37 +01:00
parent 92730bee9a
commit b91e2d76b8

View file

@ -118,9 +118,9 @@ def color_strobe(
counter = phase
while True:
if counter < rate[0]:
yield from flash_color
yield next(flash_color)
else:
yield from color
yield next(color)
counter = (counter + 1) % rate[1]