fix color_strobe
This commit is contained in:
parent
92730bee9a
commit
b91e2d76b8
1 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue