Update transmit.py add -k 0.5 to timeout for tune

master-bt
Alan Johnston 1 week ago committed by GitHub
parent e3bc0048d4
commit 7ce89e04c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 &"

Loading…
Cancel
Save

Powered by TurnKey Linux.