Update squelch_cc.py move wall

master-ff
Alan Johnston 6 months ago committed by GitHub
parent d1c583c4ca
commit e4f4edf7ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -106,6 +106,8 @@ def increment_mode():
try:
print("/home/pi/CubeSatSim/config -" + mode)
if (debug_mode == False):
print("Changing mode now")
os.system("echo 'changing mode due to C2C!' | wall")
GPIO.setwarnings(False)
GPIO.output(txLed, 0)
GPIO.output(powerPin, 0)
@ -113,8 +115,6 @@ def increment_mode():
system("sudo systemctl stop cubesatsim")
system("/home/pi/CubeSatSim/config -" + mode)
print("Changing mode now")
os.system("echo 'changing mode due to C2C!' | wall")
# file = open("/home/pi/CubeSatSim/.mode", "w")

Loading…
Cancel
Save

Powered by TurnKey Linux.