From df27374cd296c91c45ebedf10223d0d3a4e2ab58 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 8 Nov 2020 17:59:27 -0500 Subject: [PATCH] Update demo.sh --- demo.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo.sh b/demo.sh index 49ff5987..15c0dcae 100755 --- a/demo.sh +++ b/demo.sh @@ -14,13 +14,13 @@ fi if [[ ("$1" = "a" ) || (("$1" = "c") && ("$(($y %4))" = 0)) ]]; then echo "Mode is continuous AFSK" /home/pi/CubeSatSim/radioafsk afsk -elif [ "$1" = "b" ]; then +elif [[ ("$1" = "b" ) || (("$1" = "c") && ("$(($y %4))" = 1)) ]]; then echo "Mode is continuous BPSK" /home/pi/CubeSatSim/radioafsk bpsk -elif [ "$1" = "s" ]; then +elif [[ ("$1" = "s" ) || (("$1" = "c") && ("$(($y %4))" = 2)) ]]; then echo "Mode is continuous SSTV" while true; do sleep 5; done -else [ "$1" = "f" ]; then +else echo "Mode is continuous FSK" /home/pi/CubeSatSim/radioafsk fsk fi