Update aprs_in.py move rpitx stop

pull/323/head
Alan Johnston 2 years ago committed by GitHub
parent c7ba0ca01c
commit 8005d1129d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -117,9 +117,6 @@ if __name__ == "__main__":
GPIO.output(powerPin, 1)
sleep(1)
GPIO.output(txLed, 0)
GPIO.output(powerPin, 0)
system("sudo systemctl stop rpitx")
try:
file = open("/home/pi/CubeSatSim/command_count.txt", "r")
string = file.read()
@ -138,5 +135,9 @@ if __name__ == "__main__":
print("\n/home/pi/CubeSatSim/config -" + mode)
system("/home/pi/CubeSatSim/config -" + mode)
GPIO.output(txLed, 0)
GPIO.output(powerPin, 0)
system("sudo systemctl stop rpitx")
change_mode = False
print("Done")

Loading…
Cancel
Save

Powered by TurnKey Linux.