From 947e98a146af2143b4a5f0099368f981a43045d9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 19 Jul 2026 11:44:13 -0400 Subject: [PATCH] Update transmit.py repeater transmit cw id on 2m --- transmit.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/transmit.py b/transmit.py index 3fe40982..ea120182 100644 --- a/transmit.py +++ b/transmit.py @@ -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) + 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) + 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: