Update transmit.py repeater transmit cw id on 2m

master-bf-pre
Alan Johnston 2 days ago committed by GitHub
parent baff64ff1a
commit 947e98a146
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -556,13 +556,13 @@ def update_doppler(fm="yes"):
# print(f"Tx Doppler shift: {tx_doppler_freq_hz:.0f}")
# rx_doppler_freq_hz = rx_doppler_start_hz + rx_doppler_shift_hz
# print(f"Tx Doppler shift: {tx_doppler_freq_hz:.0f}")
if (fm != "no"):
rx = "{:.4f}".format(rx_doppler_freq_hz/1e6)
if (mode != 'e'):
tx = "{:.4f}".format(tx_doppler_freq_hz/1e6)
# print(tx)
else:
txr = "{:.3f}".format(tx_doppler_freq_hz/1e6)
if (fm != "no"):
program_fm(rx,tx,rxpl_value,sq,txpl_value)
else:
print("Not applying Doppler shift!")
@ -1499,7 +1499,7 @@ if __name__ == "__main__":
if (doppler_mode):
update_doppler()
txr = "{:.3f}".format(tx_doppler_freq_hz/1e6)
cw_transmit_fm(callsign + status)
cw_transmit_fm(callsign + status, txr)
start_time = time.perf_counter()
while True:

Loading…
Cancel
Save

Powered by TurnKey Linux.