From b09c852a0703eb37dee1c34e085ae20f8f8a8cae Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 22 Mar 2026 11:33:48 -0400 Subject: [PATCH] Update transmit.py remove C2C squelch check since it won't work in PacSat mode --- transmit.py | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/transmit.py b/transmit.py index 32521d29..75f59de0 100644 --- a/transmit.py +++ b/transmit.py @@ -436,18 +436,19 @@ if __name__ == "__main__": no_command = True try: f = open("/home/pi/CubeSatSim/command_control", "r") + no_command = False f.close() - setup(squelch, "up") ## pull up in case pin is not connected - if input(squelch) == False: - print("squelch not set correctly, no command input!") - else: - if (mode != 'n') and (mode != 'x'): - print("command and control is activated") - no_command = False - system("sudo systemctl start command") - else: - print("Command and control not activated since Transmit Commands mode") - txc = True # Transmit commands only works with FM transceiver, so bypass Battery Saver if activated +# setup(squelch, "up") ## pull up in case pin is not connected +# if input(squelch) == False: +# print("squelch not set correctly, no command input!") +# else: +# if (mode != 'n') and (mode != 'x'): +# print("command and control is activated") +# no_command = False +# system("sudo systemctl start command") +# else: +# print("Command and control not activated since Transmit Commands mode") +# txc = True # Transmit commands only works with FM transceiver, so bypass Battery Saver if activated except: print("command and control not activated")