Fixed edge case

This commit is contained in:
steel99xl 2024-01-08 19:36:05 -05:00
parent c526025584
commit be0a1c71a2

View file

@ -121,7 +121,7 @@ do
NewLight=$TempLight
fi
DiffCount=$(( ($NewLight - $CurrentBrightness)/$LevelSteps ))
DiffCount=$(( ( $NewLight - $CurrentBrightness ) / $LevelSteps ))
for i in $(eval echo {1..$LevelSteps} )
do