Update squelch_cc.py also move rpitx stop

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

@ -147,11 +147,12 @@ def increment_mode():
print("/home/pi/CubeSatSim/config -" + mode)
if (debug_mode == False):
GPIO.setwarnings(False)
system("/home/pi/CubeSatSim/config -" + mode)
print("Changing mode now")
GPIO.output(txLed, 0)
GPIO.output(powerPin, 0)
system("sudo systemctl stop rpitx")
system("/home/pi/CubeSatSim/config -" + mode)
print("Changing mode now")
# file = open("/home/pi/CubeSatSim/.mode", "w")
# count_string = str(command_count)
# file.write(mode)

Loading…
Cancel
Save

Powered by TurnKey Linux.