diff --git a/groundstation/sstv_decode_prompt.sh b/groundstation/sstv_decode_prompt.sh index 61e9b30f..40f9d9f6 100755 --- a/groundstation/sstv_decode_prompt.sh +++ b/groundstation/sstv_decode_prompt.sh @@ -130,7 +130,7 @@ confidence=$(awk '{print $2}' /home/pi/CubeSatSim/groundstation/auto-tune.txt) echo "Auto tune confidence: " echo $confidence -if [ "$confidence" -lt "$threshold" ]; then +if [ "$confidence" -le "$threshold" ]; then sleep 10 python3 /home/pi/CubeSatSim/groundstation/auto-tune.py 434900000 n 2> null > /home/pi/CubeSatSim/groundstation/auto-tune.txt # echo "auto-tune.txt" @@ -139,7 +139,7 @@ if [ "$confidence" -lt "$threshold" ]; then echo "Auto tune confidence: " echo $confidence - if [ "$confidence" -lt "$threshold" ]; then + if [ "$confidence" -le "$threshold" ]; then sleep 10 python3 /home/pi/CubeSatSim/groundstation/auto-tune.py 434900000 n 2> null > /home/pi/CubeSatSim/groundstation/auto-tune.txt # echo "auto-tune.txt"