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
|
||||
while true
|
||||
do
|
||||
echo "$i" > $FRAMETOPICK_SHM
|
||||
if [ "$i" -gt $LOLFIELDS ]
|
||||
if [ "$i" -lt $LOLFIELDS ]
|
||||
then
|
||||
i=0
|
||||
else
|
||||
echo "$i" > $FRAMETOPICK_SHM
|
||||
i=$(($i+1))
|
||||
else
|
||||
i=0
|
||||
fi
|
||||
sleep $FRAMETICKTIME
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue