we should cound correct :)

This commit is contained in:
Marcus 2024-01-06 17:51:41 +01:00
parent 23103948a8
commit 37bcb96177

View file

@ -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