Update transmit.py missing update_doppler

master-bt
Alan Johnston 7 days ago committed by GitHub
parent 9d9e85cc9b
commit 2ca2993cec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -606,7 +606,7 @@ def cw_transmit_string(string):
def cw_transmit_char(character):
global morse_timing
# ("no")
# update_doppler("no")
i = 0
duration = morse_table[(ord(character.upper()) - ord('0')) % 44][i]
if duration == 1:
@ -624,7 +624,7 @@ def cw_transmit_char(character):
def transmit_carrier(duration):
global tx_doppler_freq_hz
global txLed
("no")
update_doppler("no")
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 &"

Loading…
Cancel
Save

Powered by TurnKey Linux.