Update rpitx.py don't do CW ID if APRS mode

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

@ -262,8 +262,7 @@ if __name__ == "__main__":
system("echo 'hi hi de " + callsign + "' > id.txt && gen_packets -M 20 /home/pi/CubeSatSim/id.txt -o /home/pi/CubeSatSim/morse.wav -r 48000 > /dev/null 2>&1")
# if (mode != 'a'):
if (command_tx == True):
if (mode != 'a') and (command_tx == True):
output(pd, 1)
output (ptt, 0)
output(txLed, txLedOn)
@ -283,7 +282,7 @@ if __name__ == "__main__":
output(pd, 0)
sleep(1)
else:
print("Don't transmit CW ID since command_tx is False")
print("Don't transmit CW ID since command_tx is False or APRS mode")
if (transmit):

Loading…
Cancel
Save

Powered by TurnKey Linux.