Update transmit.py wait 5s

fc-sub
Alan Johnston 7 months ago committed by GitHub
parent 24107b9cd3
commit 5337e3613c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -818,7 +818,7 @@ if __name__ == "__main__":
if (GPIO.input(squelch) == False) and (command_tx == True):
print("Carrier detected, starting repeater")
if (no_command == False):
sleep(2)
sleep(5) # wait 5 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

Loading…
Cancel
Save

Powered by TurnKey Linux.