From 2b01295c5475df29cba93584dd61c82347228006 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 14 Mar 2026 12:03:48 -0400 Subject: [PATCH] Update transmit.py rerun rpitx to stop it --- transmit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmit.py b/transmit.py index 9d3342fc..45f4af1b 100644 --- a/transmit.py +++ b/transmit.py @@ -555,7 +555,7 @@ if __name__ == "__main__": output(txLed, 0) print("0") rpitx = "arecord -D plughw:CARD=Loopback,DEV=1 -f S16_LE -r 48000 -c 1 | csdr convert_s16_f | csdr gain_ff 4000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f 434900 &" - stop_rpitx = "sudo killall -9 rpitx && sudo killall -9 arecord" + stop_rpitx = "sudo killall -9 rpitx && sudo killall -9 arecord && sudo rpitx -m RF -f 434.9e3" system(stop_rpitx) while (True): if (txc):