From ad4b112a40b67a93c8efec68b0fdbbfb89a78b15 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 18 Feb 2026 10:20:53 -0500 Subject: [PATCH] Update packet.sh add sleeps after rtl_test --- groundstation/packet.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/groundstation/packet.sh b/groundstation/packet.sh index 10b6a17a..8f20bbd3 100755 --- a/groundstation/packet.sh +++ b/groundstation/packet.sh @@ -159,8 +159,10 @@ echo echo -e "Auto decoding APRS packets on $frequency Hz" - timeout 1 rtl_test &> out.txt + timeout 2 rtl_test &> out.txt + sleep 1 sudo pkill -9 rtl_test + sleep 1 if [[ $(grep "No supported" out.txt) ]] || [[ $(grep "Failed to open" out.txt) ]] ; then echo "No RTL-SDR detected. Trying FM TXC" @@ -174,6 +176,8 @@ echo if [[ $(arecord -l | grep "USB Audio Device") ]] ; then + echo "USB Sound Card is present" + gpio -g mode 20 out # set PTT high gpio -g write 20 1 gpio -g mode 21 out # set PD high