From baff64ff1acdbd8ed09cbf76324ee9b2c9fbd0d5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 19 Jul 2026 11:38:47 -0400 Subject: [PATCH] Update transmit.py fix mode e cw id --- transmit.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/transmit.py b/transmit.py index c9adb049..3fe40982 100644 --- a/transmit.py +++ b/transmit.py @@ -1011,6 +1011,13 @@ if __name__ == "__main__": sleep(15) # avoid CW jumping around at start sim_failure_check() + + status = "" + if not no_command: + status = status + " C" + if sim_mode: + status = status + " S" + if (hab_mode == True) and (mode == 'a'): print("Don't transmit CW ID since APRS HAB mode is active") else: @@ -1018,11 +1025,7 @@ if __name__ == "__main__": # output(txLed, 1) # print("Transmit CW ID") - status = "" - if not no_command: - status = status + " C" - if sim_mode: - status = status + " S" + if (mode != 'e'): cw_transmit_fm(callsign + status, tx) # if (debug_mode == 1): @@ -1496,7 +1499,7 @@ if __name__ == "__main__": if (doppler_mode): update_doppler() txr = "{:.3f}".format(tx_doppler_freq_hz/1e6) - cw_transmit_id_fm() + cw_transmit_fm(callsign + status) start_time = time.perf_counter() while True: