From 5516327430393729d4d3b4c3ffdfca349e7ac1d5 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 8 Nov 2020 17:56:56 -0500 Subject: [PATCH] Update demo.sh --- demo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.sh b/demo.sh index 65935e0b..49ff5987 100755 --- a/demo.sh +++ b/demo.sh @@ -11,7 +11,7 @@ if [ "$1" = "c" ]; then echo $(($y % 4)) fi -if [[ ("$1" = "a" ) || (("$1" = "c") && ("$(($y %4)))) ]]; then +if [[ ("$1" = "a" ) || (("$1" = "c") && ("$(($y %4))" = 0)) ]]; then echo "Mode is continuous AFSK" /home/pi/CubeSatSim/radioafsk afsk elif [ "$1" = "b" ]; then