we should cound correct :)
This commit is contained in:
parent
23103948a8
commit
37bcb96177
1 changed files with 4 additions and 4 deletions
|
@ -318,12 +318,12 @@ frametick() {
|
||||||
i=0
|
i=0
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
echo "$i" > $FRAMETOPICK_SHM
|
if [ "$i" -lt $LOLFIELDS ]
|
||||||
if [ "$i" -gt $LOLFIELDS ]
|
|
||||||
then
|
then
|
||||||
i=0
|
echo "$i" > $FRAMETOPICK_SHM
|
||||||
else
|
|
||||||
i=$(($i+1))
|
i=$(($i+1))
|
||||||
|
else
|
||||||
|
i=0
|
||||||
fi
|
fi
|
||||||
sleep $FRAMETICKTIME
|
sleep $FRAMETICKTIME
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue