From 7ce89e04c7615934cf3cded7d708b1132c0a99a5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 13 Jul 2026 12:16:26 -0400 Subject: [PATCH] Update transmit.py add -k 0.5 to timeout for tune --- transmit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmit.py b/transmit.py index 28ed2909..f9b2fc2b 100644 --- a/transmit.py +++ b/transmit.py @@ -625,7 +625,7 @@ def transmit_carrier(duration): global tx_doppler_freq_hz global txLed update_doppler("no") - command = "timeout " + str(duration) + " sudo tune -f " + str(tx_doppler_freq_hz) + " > /dev/null 2>&1" # 434.9e6 + command = "timeout -k 0.5 " + str(duration) + " sudo tune -f " + str(tx_doppler_freq_hz) + " > /dev/null 2>&1" # 434.9e6 start = "sudo tune -f " + str(tx_doppler_freq_hz) + " &" # + " & > /dev/null 2>&1" # 434.9e6 stop = "sudo rpitx -f 434.9e6 &" killrpitx = "sudo killall -9 rpitx &"