diff --git a/transmit.py b/transmit.py index 28ed2909..be6d7061 100644 --- a/transmit.py +++ b/transmit.py @@ -625,7 +625,9 @@ 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 + dur_str = str(duration) +# command = "timeout " + str(duration) + " sudo tune -f " + str(tx_doppler_freq_hz) + " > /dev/null 2>&1" # 434.9e6 + command = "timelimit -t" + dur_str + " -T" + dur_str + " sudo tune -f " + str(tx_doppler_freq_hz) + " > /dev/null 2>&1" 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 &"