From 8ef731e71f75c349489a262730deda28c0069bec Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 22 May 2025 14:54:12 -0400 Subject: [PATCH] Update transmit.py 3s, add 3s after release --- transmit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transmit.py b/transmit.py index bea6bc94..97bc03c4 100644 --- a/transmit.py +++ b/transmit.py @@ -822,11 +822,11 @@ if __name__ == "__main__": print("Beacon mode off so no repeater transmission") while True: - sleep(1) + sleep(3) # wait 3 seconds for a C2C command if (GPIO.input(squelch) == False) and (command_tx == True): print("Carrier detected, starting repeater") if (no_command == False): - sleep(2) # wait 2 seconds before repeater mode in case it is C2C command + sleep(3) # wait 3 seconds before repeater mode in case it is C2C command print("stopping C2C") system("sudo systemctl stop command") GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4