From a0d006091a30f2bc4322bc922f9509399b7f518b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 8 Jun 2026 14:01:55 -0400 Subject: [PATCH] Update pacsat.sh set txc=lpf if Pi 5 since read doesn't work --- groundstation/pacsat.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/groundstation/pacsat.sh b/groundstation/pacsat.sh index 1c95c680..8ade5d3b 100755 --- a/groundstation/pacsat.sh +++ b/groundstation/pacsat.sh @@ -67,9 +67,13 @@ if [[ $(gpio -g read 7 | grep 0) ]] ; then else echo "TXC not present" txc=0 - fi +if [[ $(gpio -v | grep "Pi 5") ]] ; then + echo "Since Pi 5, setting TXC to LPF setting" + txc=$lpf +fi + FILE=/home/pi/CubeSatSim/battery_saver if [ -f "$FILE" ]; then rpitx=1