From 89797c88c2c158bf2476a8b7b8d4cb58c01af085 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 15 Jul 2026 18:43:52 -0400 Subject: [PATCH] Update transmit.py fix variable with dash --- transmit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmit.py b/transmit.py index 9bc9e58f..f8fd00a9 100644 --- a/transmit.py +++ b/transmit.py @@ -1002,7 +1002,7 @@ if __name__ == "__main__": print("Starting PacSatSim") output(txLed, 0) print("0") - rpitx-ui = "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-ui -i- -m RF -f " + tx + "e3 > /dev/null 2>&1 &" + 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-ui -i- -m RF -f " + tx + "e3 > /dev/null 2>&1 &" stop_rpitx = "sudo killall -9 rpitx-ui && sudo killall -9 arecord && sudo rpitx-ui -m RF -f 434.9e3 > /dev/null 2>&1" if not txc: print("txc is:")