diff --git a/transmit.py b/transmit.py index c770e391..674ec094 100644 --- a/transmit.py +++ b/transmit.py @@ -606,7 +606,7 @@ def cw_transmit_string(string): def cw_transmit_char(character): global morse_timing - update_doppler("no") +# update_doppler("no") i = 0 duration = morse_table[(ord(character.upper()) - ord('0')) % 44][i] * morse_timing print(duration) @@ -620,6 +620,7 @@ def cw_transmit_char(character): 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 start = "sudo tune -f " + str(tx_doppler_freq_hz) + " &" # + " & > /dev/null 2>&1" # 434.9e6 stop = "sudo rpitx -f 434.9e6 &"