From dacf276cfc99cf46a6795175233a6228f4c66ea6 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 21 Jul 2026 17:37:23 -0400 Subject: [PATCH] Update transmit.py use skip to determine 15 seconds of sleep for cw mode --- transmit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transmit.py b/transmit.py index e8fc260c..6a469d0e 100644 --- a/transmit.py +++ b/transmit.py @@ -29,7 +29,7 @@ def uptime_seconds(): return uptime except Exception as e: print(f"An error occurred: {e}") - print("uptime_seconds failed") + print(" failed") def input(pin): # command = "gpio -g read " + str(pin) @@ -1090,7 +1090,7 @@ if __name__ == "__main__": print(mode) update_doppler() - if (mode == 'm') and (uptime_seconds() < (uptime_time + 5)): + if (mode == 'm') and (skip == False): print("Sleeping 15 seconds") sleep(15) # avoid CW jumping around at start