diff --git a/rpitx.sh b/rpitx.sh index 5ec9f3c8..409f9caf 100755 --- a/rpitx.sh +++ b/rpitx.sh @@ -6,7 +6,7 @@ if [ "$1" = "c" ]; then echo "Mode cycling" y=$(last reboot | grep ^reboot | wc -l) echo $y - if [ $(($y % 4)) = 0 ]; then + if [ $(($y % 4)) = 3 ]; then echo "Mode is continuous AFSK" python -u /home/pi/CubeSatSim/rpitx.py a elif [ $(($y % 4)) = 1 ]; then