Update rpitx.py typo with )

beta-v1.3.1-vhf-cleanup
Alan Johnston 2 years ago committed by GitHub
parent 193ae4dac5
commit b894ab828f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -328,7 +328,7 @@ if __name__ == "__main__":
system("sudo rm /home/pi/CubeSatSim/ready")
f.close()
sleep(1)
if (no_command == False and GPIO.input(squelch) == False)):
if (no_command == False and GPIO.input(squelch) == False):
print("carrier received!")
# command_tx = not command_tx
print(command_tx)
@ -394,7 +394,7 @@ if __name__ == "__main__":
output (ptt, 1)
sleep(5)
while True:
if (no_command == False and GPIO.input(squelch) == False)):
if (no_command == False and GPIO.input(squelch) == False):
print("carrier received!")
# command_tx = not command_tx
print(command_tx)
@ -528,7 +528,7 @@ if __name__ == "__main__":
output(pd, 1)
sleep(1)
if (no_command == False and GPIO.input(squelch) == False)):
if (no_command == False and GPIO.input(squelch) == False):
print("carrier received!")
# command_tx = not command_tx
print(command_tx)
@ -613,7 +613,7 @@ if __name__ == "__main__":
output(pd, 1)
sleep(1)
if (no_command == False and GPIO.input(squelch) == False)):
if (no_command == False and GPIO.input(squelch) == False):
print("carrier received!")
# command_tx = not command_tx
print(command_tx)
@ -697,7 +697,7 @@ if __name__ == "__main__":
# output(txLed, txLedOn)
# sleep(0.03)
# output(txLed, txLedOff)
if (no_command == False and GPIO.input(squelch) == False)):
if (no_command == False and GPIO.input(squelch) == False):
print("carrier received!")
# command_tx = not command_tx
print(command_tx)
@ -745,7 +745,7 @@ if __name__ == "__main__":
# output(txLed, txLedOn)
# sleep(0.03)
# output(txLed, txLedOff)
if (no_command == False and GPIO.input(squelch) == False)):
if (no_command == False and GPIO.input(squelch) == False):
print("carrier received!")
# command_tx = not command_tx
print(command_tx)

Loading…
Cancel
Save

Powered by TurnKey Linux.