Fix #757 - Some effects are running extreme slowly. (#763)

This commit is contained in:
LordGrey
2020-04-13 12:00:10 +02:00
committed by GitHub
parent 060d9f45ec
commit 77ee96ab4c
4 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ colorEndTime = float(hyperion.args.get('color-end-time', 1000)) / 1000
repeat = hyperion.args.get('repeat-count', 0)
maintainEndCol = hyperion.args.get('maintain-end-color', True)
minStepTime = float(hyperion.latchTime)/1000.0
if minStepTime == 0: minStepTime = 1
if minStepTime == 0: minStepTime = 0.001
currentR = currentG = currentB = 0
# create color table for fading from start to end color