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