Update transmit.py check for C2C for 2s

fc-sub
Alan Johnston 7 months ago committed by GitHub
parent 622e0f5807
commit 12a1a02179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -818,9 +818,9 @@ if __name__ == "__main__":
if (GPIO.input(squelch) == False) and (command_tx == True):
print("Carrier detected, starting repeater")
if (no_command == False):
system("sudo systemctl stop command")
print("stopping C2C")
sleep(2)
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
GPIO.setup(txLed, GPIO.OUT)
output(txLed, txLedOn)

Loading…
Cancel
Save

Powered by TurnKey Linux.