Fixed edge case
This commit is contained in:
parent
c526025584
commit
be0a1c71a2
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ do
|
||||||
NewLight=$TempLight
|
NewLight=$TempLight
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DiffCount=$(( ($NewLight - $CurrentBrightness)/$LevelSteps ))
|
DiffCount=$(( ( $NewLight - $CurrentBrightness ) / $LevelSteps ))
|
||||||
|
|
||||||
for i in $(eval echo {1..$LevelSteps} )
|
for i in $(eval echo {1..$LevelSteps} )
|
||||||
do
|
do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue